File tree 4 files changed +789
-403
lines changed
4 files changed +789
-403
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ _This release is scheduled to be released on 2025-01-01._
11
11
12
12
### Added
13
13
14
+ - [ linter] re-added ` eslint-plugin-import ` now that it supports ESLint v9
15
+
14
16
### Removed
15
17
16
18
- [ tests] Removed node-pty and drivelist from rebuilded test (#3575 )
Original file line number Diff line number Diff line change
1
+ import eslintPluginImport from "eslint-plugin-import" ;
1
2
import eslintPluginJest from "eslint-plugin-jest" ;
2
3
import eslintPluginJs from "@eslint/js" ;
3
4
import eslintPluginStylistic from "@stylistic/eslint-plugin" ;
4
5
import globals from "globals" ;
5
6
6
7
const config = [
7
8
eslintPluginJs . configs . recommended ,
9
+ eslintPluginImport . flatConfigs . recommended ,
8
10
{
9
11
files : [ "**/*.js" ] ,
10
12
languageOptions : {
@@ -53,6 +55,9 @@ const config = [
53
55
"@stylistic/spaced-comment" : "off" ,
54
56
eqeqeq : "error" ,
55
57
"id-length" : "off" ,
58
+ "import/order" : "error" ,
59
+ "import/extensions" : "error" ,
60
+ "import/newline-after-import" : "error" ,
56
61
"init-declarations" : "off" ,
57
62
"jest/consistent-test-it" : "warn" ,
58
63
"jest/no-done-callback" : "warn" ,
You can’t perform that action at this time.
0 commit comments