@skyux-sdk/eslint-config 11.2.0 → 11.3.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyux-sdk/eslint-config",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.3.0",
|
|
4
4
|
"author": "Blackbaud, Inc.",
|
|
5
5
|
"description": "Angular CLI schematics to implement recommended ESLint configuration",
|
|
6
6
|
"keywords": [
|
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
"ng-update": {
|
|
24
24
|
"migrations": "./src/schematics/migrations/migration-collection.json",
|
|
25
25
|
"packageGroup": {
|
|
26
|
-
"@skyux-sdk/eslint-config": "11.
|
|
26
|
+
"@skyux-sdk/eslint-config": "11.3.0"
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"@angular/cli": "^18.2.
|
|
30
|
+
"@angular/cli": "^18.2.4"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"comment-json": "4.2.4",
|
|
@@ -36,5 +36,6 @@
|
|
|
36
36
|
"package-json": "7.0.0"
|
|
37
37
|
},
|
|
38
38
|
"main": "./src/index.js",
|
|
39
|
-
"type": "commonjs"
|
|
39
|
+
"type": "commonjs",
|
|
40
|
+
"types": "./src/index.d.ts"
|
|
40
41
|
}
|
package/recommended.json
CHANGED
|
@@ -103,9 +103,7 @@
|
|
|
103
103
|
"@typescript-eslint/prefer-reduce-type-parameter": "error",
|
|
104
104
|
"@typescript-eslint/prefer-return-this-type": "error",
|
|
105
105
|
"@typescript-eslint/prefer-string-starts-ends-with": "error",
|
|
106
|
-
"@typescript-eslint/semi": "error",
|
|
107
106
|
"@typescript-eslint/switch-exhaustiveness-check": "error",
|
|
108
|
-
"@typescript-eslint/type-annotation-spacing": "error",
|
|
109
107
|
"@typescript-eslint/unbound-method": ["error", { "ignoreStatic": true }],
|
|
110
108
|
|
|
111
109
|
"@angular-eslint/no-lifecycle-call": "error",
|
|
@@ -22,8 +22,9 @@ function hardenPackageVersion() {
|
|
|
22
22
|
function ngAdd() {
|
|
23
23
|
return (tree) => {
|
|
24
24
|
const packageJson = getPackageJson(tree);
|
|
25
|
-
if (!packageJson.devDependencies?.['@angular-eslint/schematics']
|
|
26
|
-
|
|
25
|
+
if (!packageJson.devDependencies?.['@angular-eslint/schematics'] &&
|
|
26
|
+
!packageJson.devDependencies?.['angular-eslint']) {
|
|
27
|
+
throw new Error("The package 'angular-eslint' is not installed. " +
|
|
27
28
|
"Run 'ng add @angular-eslint/schematics' and try this command again.\n" +
|
|
28
29
|
'See: https://github.com/angular-eslint/angular-eslint#quick-start');
|
|
29
30
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-add.schematic.js","sourceRoot":"","sources":["../../../../../../../libs/sdk/eslint-config/src/schematics/ng-add/ng-add.schematic.ts"],"names":[],"mappings":";;AA4BA,
|
|
1
|
+
{"version":3,"file":"ng-add.schematic.js","sourceRoot":"","sources":["../../../../../../../libs/sdk/eslint-config/src/schematics/ng-add/ng-add.schematic.ts"],"names":[],"mappings":";;AA4BA,wBAqBC;AAjDD,2DAA+D;AAE/D,uCAAoC;AACpC,+BAA+B;AAE/B,+EAA0E;AAC1E,qEAAiE;AAEjE,iDAA0D;AAE1D,SAAS,cAAc,CAAC,IAAU;IAChC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAA,uBAAgB,EAAC,IAAI,EAAE,eAAe,CAAC,CAAgB,CAAC;AAC5E,CAAC;AAED,SAAS,oBAAoB;IAC3B,OAAO,KAAK,EAAE,IAAI,EAAE,EAAE;QACpB,MAAM,eAAe,GAAG,MAAM,IAAA,mBAAQ,EACpC,IAAA,cAAO,EAAC,SAAS,EAAE,uBAAuB,CAAC,CAC5C,CAAC;QAEF,MAAM,WAAW,GAAG,cAAc,CAAC,IAAI,CA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