Skip to content

Commit

Permalink
TW-265 Avoid removing eslint-config-react-app
Browse files Browse the repository at this point in the history
  • Loading branch information
keshan3262 committed Dec 8, 2023
1 parent 684849e commit c5e2bac
Show file tree
Hide file tree
Showing 5 changed files with 170 additions and 357 deletions.
9 changes: 2 additions & 7 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
"extends": [
require.resolve('./noimport-config-react-app.js'),
"react-app",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:import/typescript"
Expand Down Expand Up @@ -54,11 +54,6 @@ module.exports = {
"@typescript-eslint/await-thenable": "error",
"@typescript-eslint/no-non-null-assertion": "warn",
"react-hooks/rules-of-hooks": "warn",
"react-hooks/exhaustive-deps": "warn",
// https://github.com/benmosher/eslint-plugin-import/tree/master/docs/rules
"import/first": "error",
"import/no-amd": "error",
"import/no-anonymous-default-export": "warn",
"import/no-webpack-loader-syntax": "error"
"react-hooks/exhaustive-deps": "warn"
}
}
50 changes: 0 additions & 50 deletions config-react-app-base.js

This file was deleted.

285 changes: 0 additions & 285 deletions noimport-config-react-app.js

This file was deleted.

Loading

0 comments on commit c5e2bac

Please sign in to comment.