eslint-config-tungsten-flat 0.3.15 → 0.3.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/package.json +1 -1
- package/src/index.ts +3 -1
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAA+B,MAAM,EAAE,MAAM,eAAe,CAAA;;AAOnE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAA+B,MAAM,EAAE,MAAM,eAAe,CAAA;;AAOnE,wBAyHE"}
|
package/dist/index.js
CHANGED
|
@@ -96,7 +96,9 @@ export default defineConfig([
|
|
|
96
96
|
blankLinesAfter: 2,
|
|
97
97
|
// whether to convert imports with only type specifiers into a type declaration
|
|
98
98
|
// import { type A, ... } from 'a' -> import type { A, ... } from 'a'
|
|
99
|
-
preferTypeDeclarations:
|
|
99
|
+
preferTypeDeclarations: true,
|
|
100
|
+
// the max and target length of import lines
|
|
101
|
+
maxLen: 100
|
|
100
102
|
}]
|
|
101
103
|
}
|
|
102
104
|
},
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -111,7 +111,9 @@ export default defineConfig([
|
|
|
111
111
|
blankLinesAfter: 2,
|
|
112
112
|
// whether to convert imports with only type specifiers into a type declaration
|
|
113
113
|
// import { type A, ... } from 'a' -> import type { A, ... } from 'a'
|
|
114
|
-
preferTypeDeclarations:
|
|
114
|
+
preferTypeDeclarations: true,
|
|
115
|
+
// the max and target length of import lines
|
|
116
|
+
maxLen: 100
|
|
115
117
|
}]
|
|
116
118
|
}
|
|
117
119
|
},
|