aboutsummaryrefslogtreecommitdiff
path: root/.eslintrc.json
diff options
context:
space:
mode:
authorLibravatar Renard 2019-09-16 01:53:22 -0300
committerLibravatar Renard 2019-09-16 01:53:22 -0300
commit07c4dcb976b79fb843f13cd67fe8ac2820ad68c9 (patch)
tree8593b14e9863fb2a8d8e66ed0e6229ee3fb770c9 /.eslintrc.json
parent464d949467c4c16bd396661d3880813d0cba6f3b (diff)
downloadbai-client-07c4dcb976b79fb843f13cd67fe8ac2820ad68c9.tar.gz
bai-client-07c4dcb976b79fb843f13cd67fe8ac2820ad68c9.tar.xz
bai-client-07c4dcb976b79fb843f13cd67fe8ac2820ad68c9.zip
ESLint Setup
Diffstat (limited to '.eslintrc.json')
-rw-r--r--.eslintrc.json25
1 files changed, 25 insertions, 0 deletions
diff --git a/.eslintrc.json b/.eslintrc.json
new file mode 100644
index 0000000..c1af961
--- /dev/null
+++ b/.eslintrc.json
@@ -0,0 +1,25 @@
+{
+ "extends": [
+ "eslint:recommended",
+ "plugin:import/errors",
+ "plugin:react/recommended",
+ "plugin:jsx-a11y/recommended",
+ "prettier",
+ "prettier/react"
+ ],
+ "rules": { "react/prop-types": 0, "no-console": 1, "no-unused-vars": 1 },
+ "plugins": [],
+ "parserOptions": {
+ "ecmaVersion": 2019,
+ "sourceType": "module",
+ "ecmaFeatures": {
+ "jsx": true
+ }
+ },
+ "env": {
+ "es6": true,
+ "browser": true,
+ "node": true
+ },
+ "settings": { "react": { "version": "detect" } }
+}