@eslinted/defaults 17.0.4 → 17.0.6
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/files/index.d.ts.map +1 -1
- package/dist/files/index.js +8 -1
- package/dist/files/index.js.map +1 -1
- package/dist/ignores/index.d.ts +1 -0
- package/dist/ignores/index.d.ts.map +1 -1
- package/dist/ignores/index.js +1 -0
- package/dist/ignores/index.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/rules/disable.d.ts +76 -0
- package/dist/rules/disable.d.ts.map +1 -0
- package/dist/rules/disable.js +74 -0
- package/dist/rules/disable.js.map +1 -0
- package/dist/rules/index.d.ts +0 -1
- package/dist/rules/index.d.ts.map +1 -1
- package/dist/rules/ts/index.d.ts +0 -1
- package/dist/rules/ts/index.d.ts.map +1 -1
- package/dist/rules/ts/ts.d.ts +0 -1
- package/dist/rules/ts/ts.d.ts.map +1 -1
- package/dist/rules/ts/ts.js +0 -1
- package/dist/rules/ts/ts.js.map +1 -1
- package/package.json +1 -1
- package/src/files/index.ts +8 -1
- package/src/ignores/index.ts +1 -0
- package/src/rules/disable.ts +81 -0
- package/src/rules/ts/ts.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/files/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAGA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/files/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAGA,wBAsCE"}
|
package/dist/files/index.js
CHANGED
|
@@ -22,7 +22,14 @@ export default {
|
|
|
22
22
|
folders: [".vscode"],
|
|
23
23
|
paths: [".vscode/**/*.json"],
|
|
24
24
|
}),
|
|
25
|
-
yml: pattern([
|
|
25
|
+
yml: pattern([
|
|
26
|
+
"yml",
|
|
27
|
+
"yaml",
|
|
28
|
+
"yml.example",
|
|
29
|
+
"yaml.example",
|
|
30
|
+
"yml-example",
|
|
31
|
+
"yaml-example",
|
|
32
|
+
], {
|
|
26
33
|
folders: [".github"],
|
|
27
34
|
}),
|
|
28
35
|
};
|
package/dist/files/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/files/index.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,aAAa,CAAC;AAClC,OAAO,EAAE,MAAM,QAAQ,CAAC;AAExB,eAAe;IACb,EAAE;IACF,EAAE,EAAE,OAAO,CAAC;QACV,IAAI;QACJ,KAAK;QACL,KAAK;KACN,CAAC;IACF,KAAK,EAAE,OAAO,CAAC;QACb,SAAS;QACT,UAAU;QACV,UAAU;KACX,CAAC;IACF,MAAM,EAAE,OAAO,CAAC,QAAQ,CAAC;IACzB,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC;IACrB,GAAG,EAAE,OAAO,CAAC,KAAK,CAAC;IACnB,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC;IACrB,KAAK,EAAE,EAAE;IACT,MAAM,EAAE,OAAO,CACb,CAAC,OAAO,EAAE,eAAe,CAAC,EAC1B;QACE,KAAK,EAAE,CAAC,eAAe,EAAE,iBAAiB,CAAC;QAC3C,OAAO,EAAE,CAAC,SAAS,CAAC;QACpB,KAAK,EAAE,CAAC,mBAAmB,CAAC;KAC7B,CACF;IACD,GAAG,EAAE,OAAO,CACV,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/files/index.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,aAAa,CAAC;AAClC,OAAO,EAAE,MAAM,QAAQ,CAAC;AAExB,eAAe;IACb,EAAE;IACF,EAAE,EAAE,OAAO,CAAC;QACV,IAAI;QACJ,KAAK;QACL,KAAK;KACN,CAAC;IACF,KAAK,EAAE,OAAO,CAAC;QACb,SAAS;QACT,UAAU;QACV,UAAU;KACX,CAAC;IACF,MAAM,EAAE,OAAO,CAAC,QAAQ,CAAC;IACzB,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC;IACrB,GAAG,EAAE,OAAO,CAAC,KAAK,CAAC;IACnB,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC;IACrB,KAAK,EAAE,EAAE;IACT,MAAM,EAAE,OAAO,CACb,CAAC,OAAO,EAAE,eAAe,CAAC,EAC1B;QACE,KAAK,EAAE,CAAC,eAAe,EAAE,iBAAiB,CAAC;QAC3C,OAAO,EAAE,CAAC,SAAS,CAAC;QACpB,KAAK,EAAE,CAAC,mBAAmB,CAAC;KAC7B,CACF;IACD,GAAG,EAAE,OAAO,CACV;QACE,KAAK;QACL,MAAM;QACN,aAAa;QACb,cAAc;QACd,aAAa;QACb,cAAc;KACf,EACD;QACE,OAAO,EAAE,CAAC,SAAS,CAAC;KACrB,CACF;CACF,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,wBAOE"}
|
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;IACD,MAAM,EAAE,CAAC,kCAAkC,CAAC;CAC7C,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ declare const _default: {
|
|
|
14
14
|
ignores: {
|
|
15
15
|
"*": string[];
|
|
16
16
|
json: string[];
|
|
17
|
+
jsoncc: string[];
|
|
17
18
|
};
|
|
18
19
|
rules: {
|
|
19
20
|
js: ({
|
|
@@ -616,7 +617,6 @@ declare const _default: {
|
|
|
616
617
|
readonly "ts/ban-tslint-comment": import("./rules/state.js").State.ON;
|
|
617
618
|
readonly "ts/class-literal-property-style": import("./rules/state.js").State.ON;
|
|
618
619
|
readonly "ts/consistent-generic-constructors": import("./rules/state.js").State.ON;
|
|
619
|
-
readonly "ts/consistent-indexed-object-style": import("./rules/state.js").State.ON;
|
|
620
620
|
readonly "ts/consistent-type-assertions": readonly [
|
|
621
621
|
import("./rules/state.js").State.ON,
|
|
622
622
|
{
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { State } from "./state.js";
|
|
2
|
+
declare const _default: {
|
|
3
|
+
curly: State;
|
|
4
|
+
"no-unexpected-multiline": State;
|
|
5
|
+
"stylistic/lines-around-comment": State;
|
|
6
|
+
"stylistic/max-len": State;
|
|
7
|
+
"stylistic/no-confusing-arrow": State;
|
|
8
|
+
"stylistic/no-mixed-operators": State;
|
|
9
|
+
"stylistic/no-tabs": State;
|
|
10
|
+
"stylistic/quotes": State;
|
|
11
|
+
"stylistic/array-bracket-newline": State;
|
|
12
|
+
"stylistic/array-bracket-spacing": State;
|
|
13
|
+
"stylistic/array-element-newline": State;
|
|
14
|
+
"stylistic/arrow-parens": State;
|
|
15
|
+
"stylistic/arrow-spacing": State;
|
|
16
|
+
"stylistic/block-spacing": State;
|
|
17
|
+
"stylistic/brace-style": State;
|
|
18
|
+
"stylistic/comma-dangle": State;
|
|
19
|
+
"stylistic/comma-spacing": State;
|
|
20
|
+
"stylistic/comma-style": State;
|
|
21
|
+
"stylistic/computed-property-spacing": State;
|
|
22
|
+
"stylistic/dot-location": State;
|
|
23
|
+
"stylistic/eol-last": State;
|
|
24
|
+
"stylistic/func-call-spacing": State;
|
|
25
|
+
"stylistic/function-call-argument-newline": State;
|
|
26
|
+
"stylistic/function-call-spacing": State;
|
|
27
|
+
"stylistic/function-paren-newline": State;
|
|
28
|
+
"stylistic/generator-star-spacing": State;
|
|
29
|
+
"stylistic/implicit-arrow-linebreak": State;
|
|
30
|
+
"stylistic/indent": State;
|
|
31
|
+
"stylistic/key-spacing": State;
|
|
32
|
+
"stylistic/keyword-spacing": State;
|
|
33
|
+
"stylistic/linebreak-style": State;
|
|
34
|
+
"stylistic/max-statements-per-line": State;
|
|
35
|
+
"stylistic/multiline-ternary": State;
|
|
36
|
+
"stylistic/new-parens": State;
|
|
37
|
+
"stylistic/newline-per-chained-call": State;
|
|
38
|
+
"stylistic/no-extra-parens": State;
|
|
39
|
+
"stylistic/no-extra-semi": State;
|
|
40
|
+
"stylistic/no-floating-decimal": State;
|
|
41
|
+
"stylistic/no-mixed-spaces-and-tabs": State;
|
|
42
|
+
"stylistic/no-multi-spaces": State;
|
|
43
|
+
"stylistic/no-multiple-empty-lines": State;
|
|
44
|
+
"stylistic/no-trailing-spaces": State;
|
|
45
|
+
"stylistic/no-whitespace-before-property": State;
|
|
46
|
+
"stylistic/nonblock-statement-body-position": State;
|
|
47
|
+
"stylistic/object-curly-newline": State;
|
|
48
|
+
"stylistic/object-curly-spacing": State;
|
|
49
|
+
"stylistic/object-property-newline": State;
|
|
50
|
+
"stylistic/one-var-declaration-per-line": State;
|
|
51
|
+
"stylistic/operator-linebreak": State;
|
|
52
|
+
"stylistic/padded-blocks": State;
|
|
53
|
+
"stylistic/quote-props": State;
|
|
54
|
+
"stylistic/rest-spread-spacing": State;
|
|
55
|
+
"stylistic/semi": State;
|
|
56
|
+
"stylistic/semi-spacing": State;
|
|
57
|
+
"stylistic/semi-style": State;
|
|
58
|
+
"stylistic/space-before-blocks": State;
|
|
59
|
+
"stylistic/space-before-function-paren": State;
|
|
60
|
+
"stylistic/space-in-parens": State;
|
|
61
|
+
"stylistic/space-infix-ops": State;
|
|
62
|
+
"stylistic/space-unary-ops": State;
|
|
63
|
+
"stylistic/switch-colon-spacing": State;
|
|
64
|
+
"stylistic/template-curly-spacing": State;
|
|
65
|
+
"stylistic/template-tag-spacing": State;
|
|
66
|
+
"stylistic/wrap-iife": State;
|
|
67
|
+
"stylistic/wrap-regex": State;
|
|
68
|
+
"stylistic/yield-star-spacing": State;
|
|
69
|
+
"stylistic/member-delimiter-style": State;
|
|
70
|
+
"stylistic/type-annotation-spacing": State;
|
|
71
|
+
"stylistic/indent-binary-ops": State;
|
|
72
|
+
"stylistic/type-generic-spacing": State;
|
|
73
|
+
"stylistic/type-named-tuple-spacing": State;
|
|
74
|
+
};
|
|
75
|
+
export default _default;
|
|
76
|
+
//# sourceMappingURL=disable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"disable.d.ts","sourceRoot":"","sources":["../../src/rules/disable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEhC,wBA8EE"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
curly: 0,
|
|
3
|
+
"no-unexpected-multiline": 0,
|
|
4
|
+
"stylistic/lines-around-comment": 0,
|
|
5
|
+
"stylistic/max-len": 0,
|
|
6
|
+
"stylistic/no-confusing-arrow": 0,
|
|
7
|
+
"stylistic/no-mixed-operators": 0,
|
|
8
|
+
"stylistic/no-tabs": 0,
|
|
9
|
+
"stylistic/quotes": 0,
|
|
10
|
+
"stylistic/array-bracket-newline": 0,
|
|
11
|
+
"stylistic/array-bracket-spacing": 0,
|
|
12
|
+
"stylistic/array-element-newline": 0,
|
|
13
|
+
"stylistic/arrow-parens": 0,
|
|
14
|
+
"stylistic/arrow-spacing": 0,
|
|
15
|
+
"stylistic/block-spacing": 0,
|
|
16
|
+
"stylistic/brace-style": 0,
|
|
17
|
+
"stylistic/comma-dangle": 0,
|
|
18
|
+
"stylistic/comma-spacing": 0,
|
|
19
|
+
"stylistic/comma-style": 0,
|
|
20
|
+
"stylistic/computed-property-spacing": 0,
|
|
21
|
+
"stylistic/dot-location": 0,
|
|
22
|
+
"stylistic/eol-last": 0,
|
|
23
|
+
"stylistic/func-call-spacing": 0,
|
|
24
|
+
"stylistic/function-call-argument-newline": 0,
|
|
25
|
+
"stylistic/function-call-spacing": 0,
|
|
26
|
+
"stylistic/function-paren-newline": 0,
|
|
27
|
+
"stylistic/generator-star-spacing": 0,
|
|
28
|
+
"stylistic/implicit-arrow-linebreak": 0,
|
|
29
|
+
"stylistic/indent": 0,
|
|
30
|
+
"stylistic/key-spacing": 0,
|
|
31
|
+
"stylistic/keyword-spacing": 0,
|
|
32
|
+
"stylistic/linebreak-style": 0,
|
|
33
|
+
"stylistic/max-statements-per-line": 0,
|
|
34
|
+
"stylistic/multiline-ternary": 0,
|
|
35
|
+
"stylistic/new-parens": 0,
|
|
36
|
+
"stylistic/newline-per-chained-call": 0,
|
|
37
|
+
"stylistic/no-extra-parens": 0,
|
|
38
|
+
"stylistic/no-extra-semi": 0,
|
|
39
|
+
"stylistic/no-floating-decimal": 0,
|
|
40
|
+
"stylistic/no-mixed-spaces-and-tabs": 0,
|
|
41
|
+
"stylistic/no-multi-spaces": 0,
|
|
42
|
+
"stylistic/no-multiple-empty-lines": 0,
|
|
43
|
+
"stylistic/no-trailing-spaces": 0,
|
|
44
|
+
"stylistic/no-whitespace-before-property": 0,
|
|
45
|
+
"stylistic/nonblock-statement-body-position": 0,
|
|
46
|
+
"stylistic/object-curly-newline": 0,
|
|
47
|
+
"stylistic/object-curly-spacing": 0,
|
|
48
|
+
"stylistic/object-property-newline": 0,
|
|
49
|
+
"stylistic/one-var-declaration-per-line": 0,
|
|
50
|
+
"stylistic/operator-linebreak": 0,
|
|
51
|
+
"stylistic/padded-blocks": 0,
|
|
52
|
+
"stylistic/quote-props": 0,
|
|
53
|
+
"stylistic/rest-spread-spacing": 0,
|
|
54
|
+
"stylistic/semi": 0,
|
|
55
|
+
"stylistic/semi-spacing": 0,
|
|
56
|
+
"stylistic/semi-style": 0,
|
|
57
|
+
"stylistic/space-before-blocks": 0,
|
|
58
|
+
"stylistic/space-before-function-paren": 0,
|
|
59
|
+
"stylistic/space-in-parens": 0,
|
|
60
|
+
"stylistic/space-infix-ops": 0,
|
|
61
|
+
"stylistic/space-unary-ops": 0,
|
|
62
|
+
"stylistic/switch-colon-spacing": 0,
|
|
63
|
+
"stylistic/template-curly-spacing": 0,
|
|
64
|
+
"stylistic/template-tag-spacing": 0,
|
|
65
|
+
"stylistic/wrap-iife": 0,
|
|
66
|
+
"stylistic/wrap-regex": 0,
|
|
67
|
+
"stylistic/yield-star-spacing": 0,
|
|
68
|
+
"stylistic/member-delimiter-style": 0,
|
|
69
|
+
"stylistic/type-annotation-spacing": 0,
|
|
70
|
+
"stylistic/indent-binary-ops": 0,
|
|
71
|
+
"stylistic/type-generic-spacing": 0,
|
|
72
|
+
"stylistic/type-named-tuple-spacing": 0,
|
|
73
|
+
};
|
|
74
|
+
//# sourceMappingURL=disable.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"disable.js","sourceRoot":"","sources":["../../src/rules/disable.ts"],"names":[],"mappings":"AAEA,eAAe;IAKb,KAAK,GAAW;IAChB,yBAAyB,GAAW;IACpC,gCAAgC,GAAW;IAC3C,mBAAmB,GAAW;IAC9B,8BAA8B,GAAW;IACzC,8BAA8B,GAAW;IACzC,mBAAmB,GAAW;IAC9B,kBAAkB,GAAW;IAG7B,iCAAiC,GAAW;IAC5C,iCAAiC,GAAW;IAC5C,iCAAiC,GAAW;IAC5C,wBAAwB,GAAW;IACnC,yBAAyB,GAAW;IACpC,yBAAyB,GAAW;IACpC,uBAAuB,GAAW;IAClC,wBAAwB,GAAW;IACnC,yBA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only "ts/ban-tslint-comment": import("./state.js").State.ON;
|
|
600
600
|
readonly "ts/class-literal-property-style": import("./state.js").State.ON;
|
|
601
601
|
readonly "ts/consistent-generic-constructors": import("./state.js").State.ON;
|
|
602
|
-
readonly "ts/consistent-indexed-object-style": import("./state.js").State.ON;
|
|
603
602
|
readonly "ts/consistent-type-assertions": readonly [
|
|
604
603
|
import("./state.js").State.ON,
|
|
605
604
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWA,wBAWE"}
|
package/dist/rules/ts/index.d.ts
CHANGED
|
@@ -29,7 +29,6 @@ declare const _default: ({
|
|
|
29
29
|
readonly "ts/ban-tslint-comment": import("../state.js").State.ON;
|
|
30
30
|
readonly "ts/class-literal-property-style": import("../state.js").State.ON;
|
|
31
31
|
readonly "ts/consistent-generic-constructors": import("../state.js").State.ON;
|
|
32
|
-
readonly "ts/consistent-indexed-object-style": import("../state.js").State.ON;
|
|
33
32
|
readonly "ts/consistent-type-assertions": readonly [
|
|
34
33
|
import("../state.js").State.ON,
|
|
35
34
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/ts/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/ts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBAIE"}
|
package/dist/rules/ts/ts.d.ts
CHANGED
|
@@ -7,7 +7,6 @@ declare const _default: {
|
|
|
7
7
|
readonly "ts/ban-tslint-comment": State.ON;
|
|
8
8
|
readonly "ts/class-literal-property-style": State.ON;
|
|
9
9
|
readonly "ts/consistent-generic-constructors": State.ON;
|
|
10
|
-
readonly "ts/consistent-indexed-object-style": State.ON;
|
|
11
10
|
readonly "ts/consistent-type-assertions": readonly [
|
|
12
11
|
State.ON,
|
|
13
12
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ts.d.ts","sourceRoot":"","sources":["../../../src/rules/ts/ts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC
|
|
1
|
+
{"version":3,"file":"ts.d.ts","sourceRoot":"","sources":["../../../src/rules/ts/ts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGjC,wBAuLE"}
|
package/dist/rules/ts/ts.js
CHANGED
package/dist/rules/ts/ts.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ts.js","sourceRoot":"","sources":["../../../src/rules/ts/ts.ts"],"names":[],"mappings":"AAGA,eAAe;IACb,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE;QAGL,mBAAmB,GAAU;QAC7B,mBAAmB,GAAU;QAC7B,uBAAuB,GAAU;QACjC,iCAAiC,GAAU;QAC3C,oCAAoC,GAAU;
|
|
1
|
+
{"version":3,"file":"ts.js","sourceRoot":"","sources":["../../../src/rules/ts/ts.ts"],"names":[],"mappings":"AAGA,eAAe;IACb,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE;QAGL,mBAAmB,GAAU;QAC7B,mBAAmB,GAAU;QAC7B,uBAAuB,GAAU;QACjC,iCAAiC,GAAU;QAC3C,oCAAoC,GAAU;QAE9C,+BAA+B,EAAE;;YAE/B;gBACE,0BAA0B,EAAE,OAAO;gBACnC,2BAA2B,EAAE,OAAO;aACrC;SACF;QAED,4BA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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.0.
|
|
6
|
+
"version": "17.0.6",
|
|
7
7
|
"repository": "github:jimmy-zhening-luo/linted-defaults",
|
|
8
8
|
"description": "Default scopes for `linted`",
|
|
9
9
|
"keywords": [],
|
package/src/files/index.ts
CHANGED
package/src/ignores/index.ts
CHANGED
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { State } from "./state";
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
// The following rules can be used in some cases. See the README for more
|
|
5
|
+
// information. These are marked with `0` instead of `"off"` so that a
|
|
6
|
+
// script can distinguish them. Note that there are a few more of these
|
|
7
|
+
// in the deprecated section below.
|
|
8
|
+
curly: State.OFF,
|
|
9
|
+
"no-unexpected-multiline": State.OFF,
|
|
10
|
+
"stylistic/lines-around-comment": State.OFF,
|
|
11
|
+
"stylistic/max-len": State.OFF,
|
|
12
|
+
"stylistic/no-confusing-arrow": State.OFF,
|
|
13
|
+
"stylistic/no-mixed-operators": State.OFF,
|
|
14
|
+
"stylistic/no-tabs": State.OFF,
|
|
15
|
+
"stylistic/quotes": State.OFF,
|
|
16
|
+
|
|
17
|
+
// The rest are rules that you never need to enable when using Prettier.
|
|
18
|
+
"stylistic/array-bracket-newline": State.OFF,
|
|
19
|
+
"stylistic/array-bracket-spacing": State.OFF,
|
|
20
|
+
"stylistic/array-element-newline": State.OFF,
|
|
21
|
+
"stylistic/arrow-parens": State.OFF,
|
|
22
|
+
"stylistic/arrow-spacing": State.OFF,
|
|
23
|
+
"stylistic/block-spacing": State.OFF,
|
|
24
|
+
"stylistic/brace-style": State.OFF,
|
|
25
|
+
"stylistic/comma-dangle": State.OFF,
|
|
26
|
+
"stylistic/comma-spacing": State.OFF,
|
|
27
|
+
"stylistic/comma-style": State.OFF,
|
|
28
|
+
"stylistic/computed-property-spacing": State.OFF,
|
|
29
|
+
"stylistic/dot-location": State.OFF,
|
|
30
|
+
"stylistic/eol-last": State.OFF,
|
|
31
|
+
"stylistic/func-call-spacing": State.OFF,
|
|
32
|
+
"stylistic/function-call-argument-newline": State.OFF,
|
|
33
|
+
"stylistic/function-call-spacing": State.OFF,
|
|
34
|
+
"stylistic/function-paren-newline": State.OFF,
|
|
35
|
+
"stylistic/generator-star-spacing": State.OFF,
|
|
36
|
+
"stylistic/implicit-arrow-linebreak": State.OFF,
|
|
37
|
+
"stylistic/indent": State.OFF,
|
|
38
|
+
"stylistic/key-spacing": State.OFF,
|
|
39
|
+
"stylistic/keyword-spacing": State.OFF,
|
|
40
|
+
"stylistic/linebreak-style": State.OFF,
|
|
41
|
+
"stylistic/max-statements-per-line": State.OFF,
|
|
42
|
+
"stylistic/multiline-ternary": State.OFF,
|
|
43
|
+
"stylistic/new-parens": State.OFF,
|
|
44
|
+
"stylistic/newline-per-chained-call": State.OFF,
|
|
45
|
+
"stylistic/no-extra-parens": State.OFF,
|
|
46
|
+
"stylistic/no-extra-semi": State.OFF,
|
|
47
|
+
"stylistic/no-floating-decimal": State.OFF,
|
|
48
|
+
"stylistic/no-mixed-spaces-and-tabs": State.OFF,
|
|
49
|
+
"stylistic/no-multi-spaces": State.OFF,
|
|
50
|
+
"stylistic/no-multiple-empty-lines": State.OFF,
|
|
51
|
+
"stylistic/no-trailing-spaces": State.OFF,
|
|
52
|
+
"stylistic/no-whitespace-before-property": State.OFF,
|
|
53
|
+
"stylistic/nonblock-statement-body-position": State.OFF,
|
|
54
|
+
"stylistic/object-curly-newline": State.OFF,
|
|
55
|
+
"stylistic/object-curly-spacing": State.OFF,
|
|
56
|
+
"stylistic/object-property-newline": State.OFF,
|
|
57
|
+
"stylistic/one-var-declaration-per-line": State.OFF,
|
|
58
|
+
"stylistic/operator-linebreak": State.OFF,
|
|
59
|
+
"stylistic/padded-blocks": State.OFF,
|
|
60
|
+
"stylistic/quote-props": State.OFF,
|
|
61
|
+
"stylistic/rest-spread-spacing": State.OFF,
|
|
62
|
+
"stylistic/semi": State.OFF,
|
|
63
|
+
"stylistic/semi-spacing": State.OFF,
|
|
64
|
+
"stylistic/semi-style": State.OFF,
|
|
65
|
+
"stylistic/space-before-blocks": State.OFF,
|
|
66
|
+
"stylistic/space-before-function-paren": State.OFF,
|
|
67
|
+
"stylistic/space-in-parens": State.OFF,
|
|
68
|
+
"stylistic/space-infix-ops": State.OFF,
|
|
69
|
+
"stylistic/space-unary-ops": State.OFF,
|
|
70
|
+
"stylistic/switch-colon-spacing": State.OFF,
|
|
71
|
+
"stylistic/template-curly-spacing": State.OFF,
|
|
72
|
+
"stylistic/template-tag-spacing": State.OFF,
|
|
73
|
+
"stylistic/wrap-iife": State.OFF,
|
|
74
|
+
"stylistic/wrap-regex": State.OFF,
|
|
75
|
+
"stylistic/yield-star-spacing": State.OFF,
|
|
76
|
+
"stylistic/member-delimiter-style": State.OFF,
|
|
77
|
+
"stylistic/type-annotation-spacing": State.OFF,
|
|
78
|
+
"stylistic/indent-binary-ops": State.OFF,
|
|
79
|
+
"stylistic/type-generic-spacing": State.OFF,
|
|
80
|
+
"stylistic/type-named-tuple-spacing": State.OFF,
|
|
81
|
+
};
|
package/src/rules/ts/ts.ts
CHANGED
|
@@ -11,7 +11,7 @@ export default {
|
|
|
11
11
|
"ts/ban-tslint-comment": State.ON,
|
|
12
12
|
"ts/class-literal-property-style": State.ON,
|
|
13
13
|
"ts/consistent-generic-constructors": State.ON,
|
|
14
|
-
"ts/consistent-indexed-object-style": State.
|
|
14
|
+
// "ts/consistent-indexed-object-style": State.OFF /* preference */,
|
|
15
15
|
"ts/consistent-type-assertions": [
|
|
16
16
|
State.ON,
|
|
17
17
|
{
|