@vortiquo/eslint-config 1.2.2-beta.2 → 1.2.2-beta.3
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/base-typescript.js +9 -7
- package/package.json +1 -1
package/base-typescript.js
CHANGED
|
@@ -39,14 +39,16 @@ export const baseTypescript = [
|
|
|
39
39
|
},
|
|
40
40
|
|
|
41
41
|
// Apply type-checked rules ONLY to TypeScript files
|
|
42
|
-
//
|
|
43
|
-
...tseslint.config({
|
|
42
|
+
// Apply strict type-checked rules to TS files
|
|
43
|
+
...tseslint.configs.strictTypeChecked.map((config) => ({
|
|
44
|
+
...config,
|
|
44
45
|
files: TS_FILES,
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
46
|
+
})),
|
|
47
|
+
// Apply stylistic type-checked rules to TS files
|
|
48
|
+
...tseslint.configs.stylisticTypeChecked.map((config) => ({
|
|
49
|
+
...config,
|
|
50
|
+
files: TS_FILES,
|
|
51
|
+
})),
|
|
50
52
|
|
|
51
53
|
// TypeScript-specific settings and rules (only for TS files)
|
|
52
54
|
{
|
package/package.json
CHANGED