@fabdeh/eslint-config 0.11.2 → 0.12.0
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.mts +393 -186
- package/dist/index.mjs +1 -2
- package/package.json +21 -21
package/dist/index.mjs
CHANGED
|
@@ -366,7 +366,7 @@ function getPlaywrightDirectory() {
|
|
|
366
366
|
*/
|
|
367
367
|
async function angular(options = {}) {
|
|
368
368
|
const angularEslint = await interopDefault(import("angular-eslint"));
|
|
369
|
-
const { enableAccessibilityRules = true, overrides = {}, prefix = "app", ignoreClassNamePatternForInjectableProvidedIn: ignoreClassNamePattern, componentStylesMode = "string",
|
|
369
|
+
const { enableAccessibilityRules = true, overrides = {}, prefix = "app", ignoreClassNamePatternForInjectableProvidedIn: ignoreClassNamePattern, componentStylesMode = "string", banExperimentalApi = true, banDeveloperPreviewApi = true, inlineTemplateAndStyles = false } = options;
|
|
370
370
|
const tsOverrides = {};
|
|
371
371
|
const htmlOverrides = {};
|
|
372
372
|
for (const [key, value] of Object.entries(overrides)) if (key.startsWith("@angular-eslint/template/")) htmlOverrides[key] = value;
|
|
@@ -427,7 +427,6 @@ async function angular(options = {}) {
|
|
|
427
427
|
"@angular-eslint/prefer-output-emitter-ref": "error",
|
|
428
428
|
"@angular-eslint/prefer-output-readonly": "error",
|
|
429
429
|
"@angular-eslint/prefer-signals": "error",
|
|
430
|
-
...preferOnPushOnly ? { "@angular-eslint/prefer-on-push-component-change-detection": "error" } : {},
|
|
431
430
|
"@angular-eslint/relative-url-prefix": "error",
|
|
432
431
|
"@angular-eslint/require-lifecycle-on-prototype": "error",
|
|
433
432
|
"@angular-eslint/sort-keys-in-type-decorator": "error",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fabdeh/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.12.0",
|
|
5
5
|
"description": "My personal eslint config preset",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Fabien Dehopré",
|
|
@@ -50,24 +50,24 @@
|
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"@antfu/install-pkg": "^1.1.0",
|
|
53
|
-
"@clack/prompts": "^1.5.
|
|
53
|
+
"@clack/prompts": "^1.5.1",
|
|
54
54
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.7.2",
|
|
55
55
|
"@eslint/markdown": "^8.0.2",
|
|
56
|
-
"@ngrx/eslint-plugin": "^21.1.
|
|
56
|
+
"@ngrx/eslint-plugin": "^21.1.1",
|
|
57
57
|
"@stylistic/eslint-plugin": "^5.10.0",
|
|
58
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
59
|
-
"@typescript-eslint/parser": "^8.
|
|
60
|
-
"@typescript-eslint/utils": "^8.
|
|
58
|
+
"@typescript-eslint/eslint-plugin": "^8.61.0",
|
|
59
|
+
"@typescript-eslint/parser": "^8.61.0",
|
|
60
|
+
"@typescript-eslint/utils": "^8.61.0",
|
|
61
61
|
"@vitest/eslint-plugin": "^1.6.19",
|
|
62
|
-
"angular-eslint": "^
|
|
62
|
+
"angular-eslint": "^22.0.0",
|
|
63
63
|
"eslint-config-flat-gitignore": "^2.3.0",
|
|
64
64
|
"eslint-flat-config-utils": "^3.2.0",
|
|
65
65
|
"eslint-merge-processors": "^2.0.0",
|
|
66
66
|
"eslint-plugin-import-x": "^4.16.2",
|
|
67
67
|
"eslint-plugin-jest-dom-ya": "^1.0.1",
|
|
68
|
-
"eslint-plugin-jsdoc": "^63.0.
|
|
68
|
+
"eslint-plugin-jsdoc": "^63.0.2",
|
|
69
69
|
"eslint-plugin-jsonc": "^3.2.0",
|
|
70
|
-
"eslint-plugin-n": "^18.0
|
|
70
|
+
"eslint-plugin-n": "^18.1.0",
|
|
71
71
|
"eslint-plugin-perfectionist": "^5.9.0",
|
|
72
72
|
"eslint-plugin-playwright": "^2.10.4",
|
|
73
73
|
"eslint-plugin-pnpm": "^1.6.1",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"eslint-plugin-regexp": "^3.1.0",
|
|
76
76
|
"eslint-plugin-testing-library": "^7.16.2",
|
|
77
77
|
"eslint-plugin-toml": "^1.4.0",
|
|
78
|
-
"eslint-plugin-unicorn": "^
|
|
78
|
+
"eslint-plugin-unicorn": "^65.0.1",
|
|
79
79
|
"eslint-plugin-unused-imports": "^4.4.1",
|
|
80
80
|
"eslint-plugin-yml": "^3.4.0",
|
|
81
81
|
"find-up-simple": "^1.0.1",
|
|
@@ -83,25 +83,25 @@
|
|
|
83
83
|
"globals": "^17.6.0",
|
|
84
84
|
"jsonc-eslint-parser": "^3.1.0",
|
|
85
85
|
"local-pkg": "^1.2.1",
|
|
86
|
-
"typescript-eslint": "^8.
|
|
86
|
+
"typescript-eslint": "^8.61.0",
|
|
87
87
|
"yaml-eslint-parser": "^2.0.0"
|
|
88
88
|
},
|
|
89
89
|
"devDependencies": {
|
|
90
|
-
"@angular/core": "^
|
|
90
|
+
"@angular/core": "^22.0.0",
|
|
91
91
|
"@arethetypeswrong/cli": "^0.18.3",
|
|
92
92
|
"@commitlint/cli": "^21.0.2",
|
|
93
93
|
"@commitlint/config-conventional": "^21.0.2",
|
|
94
94
|
"@commitlint/cz-commitlint": "^21.0.2",
|
|
95
95
|
"@commitlint/lint": "^21.0.2",
|
|
96
96
|
"@commitlint/load": "^21.0.2",
|
|
97
|
-
"@ngrx/effects": "^21.1.
|
|
98
|
-
"@ngrx/operators": "^21.1.
|
|
99
|
-
"@ngrx/signals": "^21.1.
|
|
100
|
-
"@ngrx/store": "^21.1.
|
|
101
|
-
"@testing-library/angular": "^19.
|
|
97
|
+
"@ngrx/effects": "^21.1.1",
|
|
98
|
+
"@ngrx/operators": "^21.1.1",
|
|
99
|
+
"@ngrx/signals": "^21.1.1",
|
|
100
|
+
"@ngrx/store": "^21.1.1",
|
|
101
|
+
"@testing-library/angular": "^19.4.1",
|
|
102
102
|
"@testing-library/jest-dom": "^6.9.1",
|
|
103
103
|
"@types/fs-extra": "^11.0.4",
|
|
104
|
-
"@types/node": "^24.
|
|
104
|
+
"@types/node": "^24.13.1",
|
|
105
105
|
"@vitest/coverage-v8": "^4.1.8",
|
|
106
106
|
"@vitest/ui": "^4.1.8",
|
|
107
107
|
"bumpp": "^11.1.0",
|
|
@@ -118,14 +118,14 @@
|
|
|
118
118
|
"jiti": "^2.7.0",
|
|
119
119
|
"nano-staged": "^1.0.2",
|
|
120
120
|
"playwright": "^1.60.0",
|
|
121
|
-
"semver": "^7.8.
|
|
121
|
+
"semver": "^7.8.3",
|
|
122
122
|
"simple-git-hooks": "^2.13.1",
|
|
123
123
|
"tailwindcss": "^4.3.0",
|
|
124
|
-
"tsdown": "^0.22.
|
|
124
|
+
"tsdown": "^0.22.2",
|
|
125
125
|
"tsx": "^4.22.4",
|
|
126
126
|
"typescript": "^6.0.3",
|
|
127
127
|
"vitest": "^4.1.8",
|
|
128
|
-
"@fabdeh/eslint-config": "0.
|
|
128
|
+
"@fabdeh/eslint-config": "0.12.0"
|
|
129
129
|
},
|
|
130
130
|
"simple-git-hooks": {
|
|
131
131
|
"pre-commit": "pnpm nano-staged",
|