eslint-config-tungsten-flat 0.2.0 → 0.2.2
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 -0
- package/package.json +1 -1
- package/src/index.ts +4 -0
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;;AAMnE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAA+B,MAAM,EAAE,MAAM,eAAe,CAAA;;AAMnE,wBAoFE"}
|
package/dist/index.js
CHANGED
|
@@ -66,6 +66,9 @@ export default defineConfig([
|
|
|
66
66
|
"@typescript-eslint/require-await": "warn",
|
|
67
67
|
"@typescript-eslint/no-unsafe-member-access": "warn",
|
|
68
68
|
"@typescript-eslint/no-unsafe-call": "warn",
|
|
69
|
+
"@typescript-eslint/no-unused-expressions": "warn",
|
|
70
|
+
// added TS rules
|
|
71
|
+
'@typescript-eslint/no-misused-spread': 'warn',
|
|
69
72
|
// plugin-no-type-assertion
|
|
70
73
|
"no-type-assertion/no-type-assertion": "warn",
|
|
71
74
|
// was using this in a project, but doesn't seem to change the underlying config
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -75,6 +75,10 @@ export default defineConfig([
|
|
|
75
75
|
"@typescript-eslint/require-await": "warn",
|
|
76
76
|
"@typescript-eslint/no-unsafe-member-access": "warn",
|
|
77
77
|
"@typescript-eslint/no-unsafe-call": "warn",
|
|
78
|
+
"@typescript-eslint/no-unused-expressions": "warn",
|
|
79
|
+
|
|
80
|
+
// added TS rules
|
|
81
|
+
'@typescript-eslint/no-misused-spread': 'warn',
|
|
78
82
|
|
|
79
83
|
// plugin-no-type-assertion
|
|
80
84
|
"no-type-assertion/no-type-assertion": "warn",
|