@lenne.tech/eslint-config-ts 1.0.3 → 1.0.4
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/index.js +4 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -68,7 +68,7 @@ export default [
|
|
|
68
68
|
"@stylistic/type-annotation-spacing": ["error", {}],
|
|
69
69
|
"@typescript-eslint/consistent-type-definitions": ["error", "interface"],
|
|
70
70
|
"@typescript-eslint/prefer-ts-expect-error": "error",
|
|
71
|
-
"@typescript-eslint/no-require-imports": "
|
|
71
|
+
"@typescript-eslint/no-require-imports": "warn",
|
|
72
72
|
// Override JS
|
|
73
73
|
"no-useless-constructor": "off",
|
|
74
74
|
"no-invalid-this": "off",
|
|
@@ -118,6 +118,8 @@ export default [
|
|
|
118
118
|
{ exceptAfterSingleLine: true },
|
|
119
119
|
],
|
|
120
120
|
|
|
121
|
+
"@typescript-eslint/no-unused-vars": "warn",
|
|
122
|
+
|
|
121
123
|
// off
|
|
122
124
|
"@typescript-eslint/consistent-indexed-object-style": "off",
|
|
123
125
|
"@typescript-eslint/naming-convention": "off",
|
|
@@ -133,7 +135,7 @@ export default [
|
|
|
133
135
|
"@typescript-eslint/ban-types": "off",
|
|
134
136
|
"@typescript-eslint/triple-slash-reference": "off",
|
|
135
137
|
// handled by unused-imports/no-unused-imports
|
|
136
|
-
|
|
138
|
+
|
|
137
139
|
|
|
138
140
|
/**
|
|
139
141
|
* Basic
|