@eslinted/defaults 17.7.2 → 17.7.4
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/.gitattributes +10 -2
- package/dist/ignores/global.d.ts.map +1 -1
- package/dist/ignores/global.js +1 -0
- package/dist/ignores/global.js.map +1 -1
- package/dist/ignores/index.d.ts +0 -1
- package/dist/ignores/index.d.ts.map +1 -1
- package/dist/ignores/index.js +0 -1
- package/dist/ignores/index.js.map +1 -1
- package/dist/index.d.ts +1 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/rules/index.d.ts +1 -1
- package/dist/rules/json/index.d.ts +0 -1
- package/dist/rules/json/index.d.ts.map +1 -1
- package/dist/rules/json/plugin/index.d.ts +0 -1
- package/dist/rules/json/plugin/index.d.ts.map +1 -1
- package/dist/rules/json/plugin/index.js +0 -1
- package/dist/rules/json/plugin/index.js.map +1 -1
- package/dist/rules/mocha/index.d.ts +1 -0
- package/dist/rules/mocha/index.d.ts.map +1 -1
- package/dist/rules/mocha/index.js +1 -0
- package/dist/rules/mocha/index.js.map +1 -1
- package/package.json +1 -1
- package/src/ignores/global.ts +1 -0
- package/src/ignores/index.ts +0 -1
- package/src/rules/json/plugin/index.ts +1 -1
- package/src/rules/mocha/index.ts +1 -0
- package/src/rules/svelte/disable.ts +1 -1
package/.gitattributes
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
##############################
|
|
2
|
+
#### .gitattributes ####
|
|
3
|
+
#### v252.0.0 ####
|
|
4
|
+
##############################
|
|
5
|
+
|
|
1
6
|
* text=auto
|
|
2
7
|
|
|
3
8
|
*.cmd text eol=crlf
|
|
@@ -11,11 +16,10 @@
|
|
|
11
16
|
*.psm1 text eol=lf
|
|
12
17
|
*.psd1 text eol=lf
|
|
13
18
|
|
|
19
|
+
LICENSE text eol=lf
|
|
14
20
|
*.gitattributes text eol=lf
|
|
15
21
|
*.gitconfig text eol=lf
|
|
16
22
|
*.gitignore text eol=lf
|
|
17
|
-
|
|
18
|
-
LICENSE text eol=lf
|
|
19
23
|
*.txt text eol=lf
|
|
20
24
|
*.md text eol=lf
|
|
21
25
|
*.json text eol=lf
|
|
@@ -38,6 +42,10 @@ LICENSE text eol=lf
|
|
|
38
42
|
*.cpp text eol=lf
|
|
39
43
|
*.cxx text eol=lf
|
|
40
44
|
*.cc text eol=lf
|
|
45
|
+
*.cs text eol=lf
|
|
46
|
+
*.csproj text eol=lf
|
|
47
|
+
*.sln text eol=lf
|
|
48
|
+
*.slnx text eol=lf
|
|
41
49
|
*.js text eol=lf
|
|
42
50
|
*.cjs text eol=lf
|
|
43
51
|
*.mjs text eol=lf
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"global.d.ts","sourceRoot":"","sources":["../../src/ignores/global.ts"],"names":[],"mappings":";AAEA,
|
|
1
|
+
{"version":3,"file":"global.d.ts","sourceRoot":"","sources":["../../src/ignores/global.ts"],"names":[],"mappings":";AAEA,wBAYI"}
|
package/dist/ignores/global.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"global.js","sourceRoot":"","sources":["../../src/ignores/global.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,eAAe,CAAC;AAE/B,eAAe;IACb,UAAU;IACV,SAAS;IACT,UAAU;IACV,UAAU;IACV,OAAO;IACP,QAAQ;IACR,QAAQ;
|
|
1
|
+
{"version":3,"file":"global.js","sourceRoot":"","sources":["../../src/ignores/global.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,eAAe,CAAC;AAE/B,eAAe;IACb,UAAU;IACV,SAAS;IACT,UAAU;IACV,UAAU;IACV,OAAO;IACP,QAAQ;IACR,QAAQ;IACR,kCAAkC;CACnC;KACE,MAAM,CACL,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,GAAG,GAAG,IAAI,CAAC,CAC3B,CAAC"}
|
package/dist/ignores/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ignores/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ignores/index.ts"],"names":[],"mappings":";;;;AAEA,wBAME"}
|
package/dist/ignores/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/ignores/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,eAAe;IACb,GAAG,EAAE,MAAM;IACX,IAAI,EAAE;QACJ,kBAAkB;QAClB,sBAAsB;KACvB;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/ignores/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,eAAe;IACb,GAAG,EAAE,MAAM;IACX,IAAI,EAAE;QACJ,kBAAkB;QAClB,sBAAsB;KACvB;CACF,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -14,7 +14,6 @@ declare const _default: {
|
|
|
14
14
|
ignores: {
|
|
15
15
|
"*": string[];
|
|
16
16
|
json: string[];
|
|
17
|
-
jsoncc: string[];
|
|
18
17
|
};
|
|
19
18
|
rules: {
|
|
20
19
|
js: ({
|
|
@@ -826,6 +825,7 @@ declare const _default: {
|
|
|
826
825
|
})[];
|
|
827
826
|
mocha: {
|
|
828
827
|
rules: {
|
|
828
|
+
readonly "no-unsafe-call": import("./rules/state.js").State.OFF;
|
|
829
829
|
readonly "no-unused-expressions": import("./rules/state.js").State.OFF;
|
|
830
830
|
};
|
|
831
831
|
}[];
|
|
@@ -1077,7 +1077,6 @@ declare const _default: {
|
|
|
1077
1077
|
readonly "jsonc/no-undefined-value": import("./rules/state.js").State.ON;
|
|
1078
1078
|
readonly "jsonc/no-unicode-codepoint-escapes": import("./rules/state.js").State.ON;
|
|
1079
1079
|
readonly "jsonc/valid-json-number": import("./rules/state.js").State.ON;
|
|
1080
|
-
readonly "jsonc/vue-custom-block/no-parsing-error": import("./rules/state.js").State.ON;
|
|
1081
1080
|
};
|
|
1082
1081
|
} | {
|
|
1083
1082
|
rules: {
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBAIE"}
|
package/dist/rules/index.d.ts
CHANGED
|
@@ -808,6 +808,7 @@ declare const _default: {
|
|
|
808
808
|
})[];
|
|
809
809
|
mocha: {
|
|
810
810
|
rules: {
|
|
811
|
+
readonly "no-unsafe-call": import("./state.js").State.OFF;
|
|
811
812
|
readonly "no-unused-expressions": import("./state.js").State.OFF;
|
|
812
813
|
};
|
|
813
814
|
}[];
|
|
@@ -1059,7 +1060,6 @@ declare const _default: {
|
|
|
1059
1060
|
readonly "jsonc/no-undefined-value": import("./state.js").State.ON;
|
|
1060
1061
|
readonly "jsonc/no-unicode-codepoint-escapes": import("./state.js").State.ON;
|
|
1061
1062
|
readonly "jsonc/valid-json-number": import("./state.js").State.ON;
|
|
1062
|
-
readonly "jsonc/vue-custom-block/no-parsing-error": import("./state.js").State.ON;
|
|
1063
1063
|
};
|
|
1064
1064
|
} | {
|
|
1065
1065
|
rules: {
|
|
@@ -25,7 +25,6 @@ declare const _default: ({
|
|
|
25
25
|
readonly "jsonc/no-undefined-value": import("../state.js").State.ON;
|
|
26
26
|
readonly "jsonc/no-unicode-codepoint-escapes": import("../state.js").State.ON;
|
|
27
27
|
readonly "jsonc/valid-json-number": import("../state.js").State.ON;
|
|
28
|
-
readonly "jsonc/vue-custom-block/no-parsing-error": import("../state.js").State.ON;
|
|
29
28
|
};
|
|
30
29
|
} | {
|
|
31
30
|
rules: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/json/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/json/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBAIE"}
|
|
@@ -19,7 +19,6 @@ declare const _default: {
|
|
|
19
19
|
readonly "jsonc/no-undefined-value": State.ON;
|
|
20
20
|
readonly "jsonc/no-unicode-codepoint-escapes": State.ON;
|
|
21
21
|
readonly "jsonc/valid-json-number": State.ON;
|
|
22
|
-
readonly "jsonc/vue-custom-block/no-parsing-error": State.ON;
|
|
23
22
|
};
|
|
24
23
|
};
|
|
25
24
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/rules/json/plugin/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/rules/json/plugin/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;;;;;;;;;;;;;;;;;;;;;;;AAGpC,wBA0BE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/rules/json/plugin/index.ts"],"names":[],"mappings":"AAGA,eAAe;IACb,KAAK,EAAE;QAGL,0BAA0B,GAAU;QACpC,4BAA4B,GAAU;QACtC,kCAAkC,GAAU;QAC5C,mBAAmB,GAAU;QAC7B,wCAAwC,GAAU;QAClD,uCAAuC,GAAU;QACjD,mBAAmB,GAAU;QAC7B,cAAc,GAAU;QACxB,uBAAuB,GAAU;QACjC,6BAA6B,GAAU;QACvC,iCAAiC,GAAU;QAC3C,wBAAwB,GAAU;QAClC,oBAAoB,GAAU;QAC9B,0BAA0B,GAAU;QACpC,4BAA4B,GAAU;QACtC,0BAA0B,GAAU;QACpC,oCAAoC,GAAU;QAG9C,yBAAyB,GAAU;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/rules/json/plugin/index.ts"],"names":[],"mappings":"AAGA,eAAe;IACb,KAAK,EAAE;QAGL,0BAA0B,GAAU;QACpC,4BAA4B,GAAU;QACtC,kCAAkC,GAAU;QAC5C,mBAAmB,GAAU;QAC7B,wCAAwC,GAAU;QAClD,uCAAuC,GAAU;QACjD,mBAAmB,GAAU;QAC7B,cAAc,GAAU;QACxB,uBAAuB,GAAU;QACjC,6BAA6B,GAAU;QACvC,iCAAiC,GAAU;QAC3C,wBAAwB,GAAU;QAClC,oBAAoB,GAAU;QAC9B,0BAA0B,GAAU;QACpC,4BAA4B,GAAU;QACtC,0BAA0B,GAAU;QACpC,oCAAoC,GAAU;QAG9C,yBAAyB,GAAU;KAE3B;CACX,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/mocha/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/mocha/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;;;;;;;AAEjC,wBAOE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/rules/mocha/index.ts"],"names":[],"mappings":"AAEA,eAAe;IACb;QACE,KAAK,EAAE;YACL,uBAAuB,GAAW;SAC1B;KACX;CACF,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/rules/mocha/index.ts"],"names":[],"mappings":"AAEA,eAAe;IACb;QACE,KAAK,EAAE;YACL,gBAAgB,GAAW;YAC3B,uBAAuB,GAAW;SAC1B;KACX;CACF,CAAC"}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"$schema": "https://json.schemastore.org/package",
|
|
4
4
|
"$help": "https://docs.npmjs.com/cli/configuring-npm/package-json",
|
|
5
5
|
"name": "@eslinted/defaults",
|
|
6
|
-
"version": "17.7.
|
|
6
|
+
"version": "17.7.4",
|
|
7
7
|
"repository": "github:jimmy-zhening-luo/linted-defaults",
|
|
8
8
|
"description": "Default scopes for `linted`",
|
|
9
9
|
"keywords": [],
|
package/src/ignores/global.ts
CHANGED
package/src/ignores/index.ts
CHANGED
|
@@ -25,6 +25,6 @@ export default {
|
|
|
25
25
|
// "jsonc/sort-array-values": State.OFF /* preference: this makes no sense, arrays can be ordered */,
|
|
26
26
|
// "jsonc/sort-keys": State.OFF /* ESLint: json/sort-keys BUT preference: only sort keys manually when I'd like */,
|
|
27
27
|
"jsonc/valid-json-number": State.ON,
|
|
28
|
-
"jsonc/vue-custom-block/no-parsing-error": State.
|
|
28
|
+
// "jsonc/vue-custom-block/no-parsing-error": State.OFF,
|
|
29
29
|
} as const,
|
|
30
30
|
};
|
package/src/rules/mocha/index.ts
CHANGED
|
@@ -10,7 +10,7 @@ export default {
|
|
|
10
10
|
"ts/no-unused-vars": State.OFF /* TS: breaks use of svelte global */,
|
|
11
11
|
"prefer-const": State.OFF /* svelte/prefer-const */,
|
|
12
12
|
// My own
|
|
13
|
-
"stylistic/indent": State.OFF /*
|
|
13
|
+
"stylistic/indent": State.OFF /* conflicts with `svelte/indent` */,
|
|
14
14
|
"ts/no-confusing-void-expression": State.OFF /* errors on render() */,
|
|
15
15
|
} as const,
|
|
16
16
|
};
|