@chris.araneo/eslint-config 0.0.85 → 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.
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"
|