Skip to content

Commit f93a0a1

Browse files
Merge pull request #65 from Exabyte-io/update/SOF-6874
update/SOF-6874: update eslint config
2 parents fb130ad + b0e9c25 commit f93a0a1

File tree

3 files changed

+27
-42
lines changed

3 files changed

+27
-42
lines changed

.eslintrc.json

+1-32
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,4 @@
11
{
2-
"extends": ["@exabyte-io/eslint-config"],
3-
"overrides": [
4-
{
5-
"files": [
6-
"*.ts",
7-
"*.tsx"
8-
],
9-
"extends": [
10-
"@exabyte-io/eslint-config",
11-
"eslint:recommended",
12-
"plugin:@typescript-eslint/eslint-recommended",
13-
"plugin:@typescript-eslint/recommended",
14-
// "plugin:@typescript-eslint/recommended-requiring-type-checking",
15-
"plugin:import/typescript"
16-
],
17-
"parser": "@typescript-eslint/parser",
18-
"rules": {
19-
"@typescript-eslint/ban-ts-comment": "off",
20-
"import/no-absolute-path": "off",
21-
"import/extensions": "off",
22-
"react/forbid-prop-types": "off",
23-
"react/jsx-filename-extension": "off",
24-
"react/require-default-props": "off",
25-
"no-use-before-define": "off",
26-
"no-shadow": "off",
27-
"one-var": "off",
28-
"max-classes-per-file": "off",
29-
"@typescript-eslint/no-use-before-define": ["error"]
30-
},
31-
"plugins": ["@typescript-eslint"]
32-
}
33-
]
2+
"extends": ["@exabyte-io/eslint-config"]
343
}
354

package-lock.json

+24-9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
},
8787
"devDependencies": {
8888
"@babel/preset-typescript": "^7.22.5",
89-
"@exabyte-io/eslint-config": "^2022.11.17-0",
89+
"@exabyte-io/eslint-config": "^2023.8.29-1",
9090
"@typescript-eslint/eslint-plugin": "^5.56.0",
9191
"@typescript-eslint/parser": "^5.56.0",
9292
"chai": "^4.3.4",
@@ -96,6 +96,7 @@
9696
"eslint-plugin-import": "2.25.3",
9797
"eslint-plugin-jsdoc": "37.1.0",
9898
"eslint-plugin-jsx-a11y": "6.5.1",
99+
"eslint-plugin-mui-path-imports": "0.0.15",
99100
"eslint-plugin-prettier": "^4.2.1",
100101
"eslint-plugin-react": "7.30.0",
101102
"eslint-plugin-simple-import-sort": "7.0.0",

0 commit comments

Comments
 (0)