Skip to content

Commit

Permalink
Move ecmaFeatures to parserOptions in eslintrc
Browse files Browse the repository at this point in the history
  • Loading branch information
manisandro committed Feb 28, 2024
1 parent 0583c7d commit 6b07d2f
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,25 @@
"parserOptions": {
"babelOptions": {
"configFile": "./.babelrc.json"
}
},
"ecmaFeatures": {
"arrowFunctions": true,
"blockBindings": true,
"classes": true,
"defaultParams": true,
"destructuring": true,
"forOf": true,
"generators": false,
"modules": true,
"objectLiteralComputedProperties": true,
"objectLiteralDuplicateProperties": false,
"objectLiteralShorthandMethods": true,
"objectLiteralShorthandProperties": true,
"spread": true,
"superInFunctions": true,
"templateStrings": true,
"jsx": true
},
},
"plugins": [
"react" // https://github.com/yannickcr/eslint-plugin-react
Expand All @@ -27,24 +45,6 @@
"afterEach" : false,
"__DEVTOOLS__": false
},
"ecmaFeatures": {
"arrowFunctions": true,
"blockBindings": true,
"classes": true,
"defaultParams": true,
"destructuring": true,
"forOf": true,
"generators": false,
"modules": true,
"objectLiteralComputedProperties": true,
"objectLiteralDuplicateProperties": false,
"objectLiteralShorthandMethods": true,
"objectLiteralShorthandProperties": true,
"spread": true,
"superInFunctions": true,
"templateStrings": true,
"jsx": true
},
"rules": {
/**
* Strict mode
Expand Down

0 comments on commit 6b07d2f

Please sign in to comment.