Skip to content

Commit 6a3b367

Browse files
committed
[v7] Remove redundant simple-import-sort eslint plugin
1 parent a127c7d commit 6a3b367

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

.eslintrc.js

+1-7
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ module.exports = {
88
ecmaVersion: 2018,
99
},
1010
extends: ['prettier', 'eslint:recommended', 'plugin:import/errors', 'plugin:import/warnings'],
11-
plugins: ['simple-import-sort'],
12-
ignorePatterns: ['build/**', 'dist/**', 'esm/**', 'examples/**', 'scripts/**', 'test/manual/**'],
11+
ignorePatterns: ['build/**', 'dist/**', 'esm/**', 'cjs/**', 'examples/**', 'scripts/**', 'test/manual/**'],
1312
rules: {
1413
// We want to prevent usage of unary operators outside of for loops
1514
'no-plusplus': ['error', { allowForLoopAfterthoughts: true }],
@@ -131,11 +130,6 @@ module.exports = {
131130
// Do not use deprecated methods
132131
'deprecation/deprecation': 'error',
133132

134-
// sort imports
135-
'simple-import-sort/imports': 'error',
136-
'sort-imports': 'off',
137-
'import/order': 'off',
138-
139133
// Disallow delete operator. We should make this operation opt in (by disabling this rule).
140134
'@typescript-eslint/no-dynamic-delete': 'error',
141135

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@
4545
"eslint-plugin-deprecation": "^1.2.0",
4646
"eslint-plugin-import": "^2.22.1",
4747
"eslint-plugin-jsdoc": "^32.0.1",
48-
"eslint-plugin-simple-import-sort": "^7.0.0",
4948
"husky": "^5.0.9",
5049
"jest": "26.6.3",
5150
"karma-browserstack-launcher": "^1.5.1",

0 commit comments

Comments
 (0)