File tree 2 files changed +13
-2
lines changed
2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,8 @@ export const settings: Linter.Config = {
99
99
] ,
100
100
"import/no-mutable-exports" : "error" ,
101
101
"import/no-named-as-default" : "off" ,
102
- "import/no-named-as-default-member" : "error" ,
102
+ // using unicorn/import-style for per package control
103
+ "import/no-named-as-default-member" : "off" ,
103
104
"import/no-named-default" : "error" ,
104
105
"import/no-named-export" : "off" ,
105
106
"import/no-namespace" : "off" ,
Original file line number Diff line number Diff line change @@ -8,7 +8,17 @@ export const settings: Linter.Config = {
8
8
extends : [ "plugin:unicorn/recommended" ] ,
9
9
10
10
rules : {
11
- "unicorn/import-style" : "off" ,
11
+ "unicorn/import-style" : [
12
+ "error" ,
13
+ {
14
+ extendDefaultStyles : false ,
15
+ styles : {
16
+ typescript : {
17
+ default : true ,
18
+ } ,
19
+ } ,
20
+ } ,
21
+ ] ,
12
22
// "eslint-comments/no-unlimited-disable" covers this.
13
23
"unicorn/no-abusive-eslint-disable" : "off" ,
14
24
"unicorn/no-array-callback-reference" : "off" ,
You can’t perform that action at this time.
0 commit comments