Skip to content

Commit

Permalink
chore: add react to plugins list
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Jul 19, 2020
1 parent 1e75de4 commit 6b98fee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ module.exports = {
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": ["prettier", "only-warn"],
"plugins": ["prettier", "react", "only-warn"],
"extends": ["prettier", "eslint:recommended", "plugin:react/recommended"],
"ignorePatterns": ["node_modules/"],
"overrides": [
Expand All @@ -29,7 +29,7 @@ module.exports = {
// TypeScript files
"files": ["**/*.ts", "**/*.tsx"],
"parser": "@typescript-eslint/parser",
"plugins": ["prettier", "@typescript-eslint", "only-warn"],
"plugins": ["prettier", "react", "@typescript-eslint", "only-warn"],
"extends": [
"prettier",
"prettier/@typescript-eslint",
Expand Down
4 changes: 2 additions & 2 deletions strict.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ module.exports = {
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": ["prettier"],
"plugins": ["prettier", "react"],
"extends": ["prettier", "eslint:recommended", "plugin:react/recommended"],
"ignorePatterns": ["node_modules/"],
"overrides": [
Expand All @@ -29,7 +29,7 @@ module.exports = {
// TypeScript files
"files": ["**/*.ts", "**/*.tsx"],
"parser": "@typescript-eslint/parser",
"plugins": ["prettier", "@typescript-eslint"],
"plugins": ["prettier", "react", "@typescript-eslint"],
"extends": [
"prettier",
"prettier/@typescript-eslint",
Expand Down

0 comments on commit 6b98fee

Please sign in to comment.