@chris.araneo/eslint-config 0.0.84 → 0.0.86
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.
|
@@ -10,7 +10,7 @@ export const getAngularSourcesConfigs = (prefix, sources) => angular.configs.tsA
|
|
|
10
10
|
},
|
|
11
11
|
},
|
|
12
12
|
...(config.plugins && { plugins: config.plugins }),
|
|
13
|
-
processor: config.processor,
|
|
13
|
+
...(config.processor && { processor: config.processor }),
|
|
14
14
|
rules: {
|
|
15
15
|
...config.rules,
|
|
16
16
|
'@angular-eslint/component-selector': [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"angular-eslint.js","sourceRoot":"/","sources":["src/angular/angular-eslint.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,gBAAgB,CAAC;AAGrC,MAAM,CAAC,MAAM,wBAAwB,GAAG,CACtC,MAAc,EACd,OAAiB,EACA,EAAE,CACnB,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,CACvB,CAAC,MAAM,EAAE,EAAE,CACT,CAAC;IACC,GAAG,MAAM;IACT,KAAK,EAAE,OAAO;IACd,eAAe,EAAE;QACf,GAAG,MAAM,CAAC,eAAe;QACzB,aAAa,EAAE;YACb,gCAAgC,EAAE,IAAI;YACtC,cAAc,EAAE,IAAI;SACrB;KACF;IACD,GAAG,CAAC,MAAM,CAAC,OAAO,IAAI,EAAE,OAAO,EAAE,MAAM,CAAC,OAAO,EAAE,CAAC;IAClD,SAAS,EAAE,MAAM,CAAC,SAAS;
|
|
1
|
+
{"version":3,"file":"angular-eslint.js","sourceRoot":"/","sources":["src/angular/angular-eslint.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,gBAAgB,CAAC;AAGrC,MAAM,CAAC,MAAM,wBAAwB,GAAG,CACtC,MAAc,EACd,OAAiB,EACA,EAAE,CACnB,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,CACvB,CAAC,MAAM,EAAE,EAAE,CACT,CAAC;IACC,GAAG,MAAM;IACT,KAAK,EAAE,OAAO;IACd,eAAe,EAAE;QACf,GAAG,MAAM,CAAC,eAAe;QACzB,aAAa,EAAE;YACb,gCAAgC,EAAE,IAAI;YACtC,cAAc,EAAE,IAAI;SACrB;KACF;IACD,GAAG,CAAC,MAAM,CAAC,OAAO,IAAI,EAAE,OAAO,EAAE,MAAM,CAAC,OAAO,EAAE,CAAC;IAClD,GAAG,CAAC,MAAM,CAAC,SAAS,IAAI,EAAE,SAAS,EAAE,MAAM,CAAC,SAAS,EAAE,CAAC;IACxD,KAAK,EAAE;QACL,GAAG,MAAM,CAAC,KAAK;QACf,oCAAoC,EAAE;YACpC,OAAO;YACP;gBACE,MAAM;gBACN,KAAK,EAAE,YAAY;gBACnB,IAAI,EAAE,SAAS;aAChB;SACF;QACD,oCAAoC,EAAE;YACpC,OAAO;YACP;gBACE,MAAM;gBACN,KAAK,EAAE,WAAW;gBAClB,IAAI,EAAE,WAAW;aAClB;SACF;QACD,gCAAgC,EAAE,KAAK;QACvC,2DAA2D,EAAE,KAAK;QAClE,2CAA2C,EAAE,KAAK;QAClD,gCAAgC,EAAE,KAAK;KACxC;CACF,CAAkB,CACtB,CAAC"}
|
package/dist/src/json/jsonc.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import json from '@eslint/json';
|
|
1
2
|
import jsonc from 'eslint-plugin-jsonc';
|
|
2
3
|
import jsoncParser from 'jsonc-eslint-parser';
|
|
3
4
|
export const getJsoncConfig = (jsons) => ({
|
|
@@ -5,6 +6,10 @@ export const getJsoncConfig = (jsons) => ({
|
|
|
5
6
|
languageOptions: {
|
|
6
7
|
parser: jsoncParser,
|
|
7
8
|
},
|
|
9
|
+
plugins: {
|
|
10
|
+
json,
|
|
11
|
+
jsonc,
|
|
12
|
+
},
|
|
8
13
|
rules: {
|
|
9
14
|
...jsonc.configs['flat/recommended-with-jsonc'].rules,
|
|
10
15
|
'jsonc/no-comments': 'error',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jsonc.js","sourceRoot":"/","sources":["src/json/jsonc.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"jsonc.js","sourceRoot":"/","sources":["src/json/jsonc.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,cAAc,CAAC;AAEhC,OAAO,KAAK,MAAM,qBAAqB,CAAC;AACxC,OAAO,WAAW,MAAM,qBAAqB,CAAC;AAE9C,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,KAAe,EAAiB,EAAE,CAAC,CAAC;IACjE,KAAK,EAAE,KAAK;IACZ,eAAe,EAAE;QACf,MAAM,EAAE,WAAW;KACpB;IACD,OAAO,EAAE;QACP,IAAI;QACJ,KAAK;KACsB;IAC7B,KAAK,EAAE;QAEL,GAAI,KAAK,CAAC,OAAO,CAAC,6BAA6B,CAAS,CAAC,KAAK;QAC9D,mBAAmB,EAAE,OAAO;QAC5B,oBAAoB,EAAE,OAAO;QAC7B,iBAAiB,EAAE,OAAO;QAC1B,yBAAyB,EAAE,OAAO;KACnC;CACF,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chris.araneo/eslint-config",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.86",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
"lint:fix": "eslint . --fix"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
+
"@eslint/json": "^0.14.0",
|
|
30
31
|
"@humanwhocodes/momoa": "^3.3.10",
|
|
31
32
|
"angular-eslint": "^21.1.0",
|
|
32
33
|
"app-root-dir": "^1.0.2",
|
|
@@ -35,7 +36,8 @@
|
|
|
35
36
|
"eslint-plugin-perfectionist": "^5.2.0",
|
|
36
37
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
37
38
|
"eslint-plugin-unicorn": "^62.0.0",
|
|
38
|
-
"jsonc-eslint-parser": "^2.4.2"
|
|
39
|
+
"jsonc-eslint-parser": "^2.4.2",
|
|
40
|
+
"typescript-eslint": "^8.53.1"
|
|
39
41
|
},
|
|
40
42
|
"devDependencies": {
|
|
41
43
|
"@types/app-root-dir": "^0.1.4",
|
|
@@ -43,8 +45,7 @@
|
|
|
43
45
|
"prettier": "^3.7.4",
|
|
44
46
|
"rimraf": "^6.1.2",
|
|
45
47
|
"sort-package-json": "^3.6.0",
|
|
46
|
-
"typescript": "^5.9.3"
|
|
47
|
-
"typescript-eslint": "^8.51.0"
|
|
48
|
+
"typescript": "^5.9.3"
|
|
48
49
|
},
|
|
49
50
|
"publishConfig": {
|
|
50
51
|
"access": "public"
|