Skip to content

Commit

Permalink
eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
klein0r committed Nov 12, 2021
1 parent b89c481 commit 108febc
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,22 @@
{
"root": true,
"env": {
"es6": true,
"node": true,
"mocha": true
},
"extends": "eslint:recommended",
"extends": [
"eslint:recommended",
"plugin:react/recommended"
],
"plugins": [
"react"
],
"settings": {
"react": {
"version": "detect"
}
},
"rules": {
"indent": [
"error",
Expand All @@ -15,8 +27,8 @@
],
"no-console": "off",
"no-var": "error",
"prefer-const": "error",
"no-trailing-spaces": "error",
"prefer-const": "error",
"quotes": [
"error",
"single",
Expand All @@ -31,6 +43,9 @@
]
},
"parserOptions": {
"ecmaVersion": 2018
"ecmaVersion": 2018,
"ecmaFeatures": {
"jsx": true
}
}
}

0 comments on commit 108febc

Please sign in to comment.