linted 22.0.0 → 22.0.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{imports/index.d.ts → imports.d.ts} +1 -1
- package/dist/imports.d.ts.map +1 -0
- package/dist/imports.js +7 -0
- package/dist/imports.js.map +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -13
- package/dist/index.js.map +1 -1
- package/dist/{imports/parsers.d.ts → parsers/index.d.ts} +1 -1
- package/dist/parsers/index.d.ts.map +1 -0
- package/dist/{imports/parsers.js → parsers/index.js} +1 -1
- package/dist/parsers/index.js.map +1 -0
- package/dist/{imports/plugins.d.ts → plugins/index.d.ts} +1 -1
- package/dist/plugins/index.d.ts.map +1 -0
- package/dist/{imports/plugins.js → plugins/index.js} +1 -1
- package/dist/plugins/index.js.map +1 -0
- package/package.json +2 -1
- package/src/index.ts +10 -18
- package/dist/_strings/id.d.ts +0 -2
- package/dist/_strings/id.d.ts.map +0 -1
- package/dist/_strings/id.js +0 -2
- package/dist/_strings/id.js.map +0 -1
- package/dist/_strings/index.d.ts +0 -7
- package/dist/_strings/index.d.ts.map +0 -1
- package/dist/_strings/index.js +0 -7
- package/dist/_strings/index.js.map +0 -1
- package/dist/_strings/level.d.ts +0 -2
- package/dist/_strings/level.d.ts.map +0 -1
- package/dist/_strings/level.js +0 -2
- package/dist/_strings/level.js.map +0 -1
- package/dist/_strings/level.spec.d.ts +0 -2
- package/dist/_strings/level.spec.d.ts.map +0 -1
- package/dist/_strings/level.spec.js +0 -31
- package/dist/_strings/level.spec.js.map +0 -1
- package/dist/_strings/state.d.ts +0 -2
- package/dist/_strings/state.d.ts.map +0 -1
- package/dist/_strings/state.js +0 -2
- package/dist/_strings/state.js.map +0 -1
- package/dist/files/index.d.ts +0 -13
- package/dist/files/index.d.ts.map +0 -1
- package/dist/files/index.js +0 -20
- package/dist/files/index.js.map +0 -1
- package/dist/files/scopes/html.d.ts +0 -3
- package/dist/files/scopes/html.d.ts.map +0 -1
- package/dist/files/scopes/html.js +0 -2
- package/dist/files/scopes/html.js.map +0 -1
- package/dist/files/scopes/js.d.ts +0 -3
- package/dist/files/scopes/js.d.ts.map +0 -1
- package/dist/files/scopes/js.js +0 -5
- package/dist/files/scopes/js.js.map +0 -1
- package/dist/files/scopes/json.d.ts +0 -3
- package/dist/files/scopes/json.d.ts.map +0 -1
- package/dist/files/scopes/json.js +0 -2
- package/dist/files/scopes/json.js.map +0 -1
- package/dist/files/scopes/jsonc.d.ts +0 -3
- package/dist/files/scopes/jsonc.d.ts.map +0 -1
- package/dist/files/scopes/jsonc.js +0 -6
- package/dist/files/scopes/jsonc.js.map +0 -1
- package/dist/files/scopes/mocha.d.ts +0 -3
- package/dist/files/scopes/mocha.d.ts.map +0 -1
- package/dist/files/scopes/mocha.js +0 -5
- package/dist/files/scopes/mocha.js.map +0 -1
- package/dist/files/scopes/svelte.d.ts +0 -3
- package/dist/files/scopes/svelte.d.ts.map +0 -1
- package/dist/files/scopes/svelte.js +0 -2
- package/dist/files/scopes/svelte.js.map +0 -1
- package/dist/files/scopes/ts.d.ts +0 -3
- package/dist/files/scopes/ts.d.ts.map +0 -1
- package/dist/files/scopes/ts.js +0 -2
- package/dist/files/scopes/ts.js.map +0 -1
- package/dist/files/scopes/yml.d.ts +0 -3
- package/dist/files/scopes/yml.d.ts.map +0 -1
- package/dist/files/scopes/yml.js +0 -2
- package/dist/files/scopes/yml.js.map +0 -1
- package/dist/ignores/index.d.ts +0 -13
- package/dist/ignores/index.d.ts.map +0 -1
- package/dist/ignores/index.js +0 -29
- package/dist/ignores/index.js.map +0 -1
- package/dist/ignores/scopes/html.d.ts +0 -3
- package/dist/ignores/scopes/html.d.ts.map +0 -1
- package/dist/ignores/scopes/html.js +0 -2
- package/dist/ignores/scopes/html.js.map +0 -1
- package/dist/ignores/scopes/js.d.ts +0 -3
- package/dist/ignores/scopes/js.d.ts.map +0 -1
- package/dist/ignores/scopes/js.js +0 -2
- package/dist/ignores/scopes/js.js.map +0 -1
- package/dist/ignores/scopes/json.d.ts +0 -3
- package/dist/ignores/scopes/json.d.ts.map +0 -1
- package/dist/ignores/scopes/json.js +0 -2
- package/dist/ignores/scopes/json.js.map +0 -1
- package/dist/ignores/scopes/jsonc.d.ts +0 -3
- package/dist/ignores/scopes/jsonc.d.ts.map +0 -1
- package/dist/ignores/scopes/jsonc.js +0 -2
- package/dist/ignores/scopes/jsonc.js.map +0 -1
- package/dist/ignores/scopes/mocha.d.ts +0 -3
- package/dist/ignores/scopes/mocha.d.ts.map +0 -1
- package/dist/ignores/scopes/mocha.js +0 -2
- package/dist/ignores/scopes/mocha.js.map +0 -1
- package/dist/ignores/scopes/svelte.d.ts +0 -3
- package/dist/ignores/scopes/svelte.d.ts.map +0 -1
- package/dist/ignores/scopes/svelte.js +0 -2
- package/dist/ignores/scopes/svelte.js.map +0 -1
- package/dist/ignores/scopes/ts.d.ts +0 -3
- package/dist/ignores/scopes/ts.d.ts.map +0 -1
- package/dist/ignores/scopes/ts.js +0 -2
- package/dist/ignores/scopes/ts.js.map +0 -1
- package/dist/ignores/scopes/yml.d.ts +0 -3
- package/dist/ignores/scopes/yml.d.ts.map +0 -1
- package/dist/ignores/scopes/yml.js +0 -2
- package/dist/ignores/scopes/yml.js.map +0 -1
- package/dist/imports/index.d.ts.map +0 -1
- package/dist/imports/index.js +0 -7
- package/dist/imports/index.js.map +0 -1
- package/dist/imports/parsers.d.ts.map +0 -1
- package/dist/imports/parsers.js.map +0 -1
- package/dist/imports/plugins.d.ts.map +0 -1
- package/dist/imports/plugins.js.map +0 -1
- package/dist/rules/html/enable.d.ts +0 -3
- package/dist/rules/html/enable.d.ts.map +0 -1
- package/dist/rules/html/enable.js +0 -94
- package/dist/rules/html/enable.js.map +0 -1
- package/dist/rules/html/index.d.ts +0 -3
- package/dist/rules/html/index.d.ts.map +0 -1
- package/dist/rules/html/index.js +0 -3
- package/dist/rules/html/index.js.map +0 -1
- package/dist/rules/index.d.ts +0 -4563
- package/dist/rules/index.d.ts.map +0 -1
- package/dist/rules/index.js +0 -19
- package/dist/rules/index.js.map +0 -1
- package/dist/rules/js/enable.d.ts +0 -348
- package/dist/rules/js/enable.d.ts.map +0 -1
- package/dist/rules/js/enable.js +0 -519
- package/dist/rules/js/enable.js.map +0 -1
- package/dist/rules/js/index.d.ts +0 -766
- package/dist/rules/js/index.d.ts.map +0 -1
- package/dist/rules/js/index.js +0 -7
- package/dist/rules/js/index.js.map +0 -1
- package/dist/rules/js/stylistic.d.ts +0 -421
- package/dist/rules/js/stylistic.d.ts.map +0 -1
- package/dist/rules/js/stylistic.js +0 -641
- package/dist/rules/js/stylistic.js.map +0 -1
- package/dist/rules/json/enable.d.ts +0 -27
- package/dist/rules/json/enable.d.ts.map +0 -1
- package/dist/rules/json/enable.js +0 -30
- package/dist/rules/json/enable.js.map +0 -1
- package/dist/rules/json/enable_x.d.ts +0 -50
- package/dist/rules/json/enable_x.d.ts.map +0 -1
- package/dist/rules/json/enable_x.js +0 -80
- package/dist/rules/json/enable_x.js.map +0 -1
- package/dist/rules/json/index.d.ts +0 -74
- package/dist/rules/json/index.d.ts.map +0 -1
- package/dist/rules/json/index.js +0 -7
- package/dist/rules/json/index.js.map +0 -1
- package/dist/rules/jsonc/index.d.ts +0 -77
- package/dist/rules/jsonc/index.d.ts.map +0 -1
- package/dist/rules/jsonc/index.js +0 -7
- package/dist/rules/jsonc/index.js.map +0 -1
- package/dist/rules/jsonc/override.d.ts +0 -6
- package/dist/rules/jsonc/override.d.ts.map +0 -1
- package/dist/rules/jsonc/override.js +0 -12
- package/dist/rules/jsonc/override.js.map +0 -1
- package/dist/rules/mocha/disable.d.ts +0 -5
- package/dist/rules/mocha/disable.d.ts.map +0 -1
- package/dist/rules/mocha/disable.js +0 -8
- package/dist/rules/mocha/disable.js.map +0 -1
- package/dist/rules/mocha/enable.d.ts +0 -35
- package/dist/rules/mocha/enable.d.ts.map +0 -1
- package/dist/rules/mocha/enable.js +0 -47
- package/dist/rules/mocha/enable.js.map +0 -1
- package/dist/rules/mocha/index.d.ts +0 -1171
- package/dist/rules/mocha/index.d.ts.map +0 -1
- package/dist/rules/mocha/index.js +0 -9
- package/dist/rules/mocha/index.js.map +0 -1
- package/dist/rules/svelte/disable.d.ts +0 -5
- package/dist/rules/svelte/disable.d.ts.map +0 -1
- package/dist/rules/svelte/disable.js +0 -8
- package/dist/rules/svelte/disable.js.map +0 -1
- package/dist/rules/svelte/disable_js.d.ts +0 -6
- package/dist/rules/svelte/disable_js.d.ts.map +0 -1
- package/dist/rules/svelte/disable_js.js +0 -9
- package/dist/rules/svelte/disable_js.js.map +0 -1
- package/dist/rules/svelte/disable_ts.d.ts +0 -6
- package/dist/rules/svelte/disable_ts.d.ts.map +0 -1
- package/dist/rules/svelte/disable_ts.js +0 -9
- package/dist/rules/svelte/disable_ts.js.map +0 -1
- package/dist/rules/svelte/enable.d.ts +0 -127
- package/dist/rules/svelte/enable.d.ts.map +0 -1
- package/dist/rules/svelte/enable.js +0 -193
- package/dist/rules/svelte/enable.js.map +0 -1
- package/dist/rules/svelte/enable_x.d.ts +0 -8
- package/dist/rules/svelte/enable_x.d.ts.map +0 -1
- package/dist/rules/svelte/enable_x.js +0 -15
- package/dist/rules/svelte/enable_x.js.map +0 -1
- package/dist/rules/svelte/index.d.ts +0 -1274
- package/dist/rules/svelte/index.d.ts.map +0 -1
- package/dist/rules/svelte/index.js +0 -15
- package/dist/rules/svelte/index.js.map +0 -1
- package/dist/rules/ts/disable.d.ts +0 -18
- package/dist/rules/ts/disable.d.ts.map +0 -1
- package/dist/rules/ts/disable.js +0 -21
- package/dist/rules/ts/disable.js.map +0 -1
- package/dist/rules/ts/disable_x.d.ts +0 -28
- package/dist/rules/ts/disable_x.d.ts.map +0 -1
- package/dist/rules/ts/disable_x.js +0 -31
- package/dist/rules/ts/disable_x.js.map +0 -1
- package/dist/rules/ts/enable.d.ts +0 -265
- package/dist/rules/ts/enable.d.ts.map +0 -1
- package/dist/rules/ts/enable.js +0 -520
- package/dist/rules/ts/enable.js.map +0 -1
- package/dist/rules/ts/enable_x.d.ts +0 -72
- package/dist/rules/ts/enable_x.d.ts.map +0 -1
- package/dist/rules/ts/enable_x.js +0 -108
- package/dist/rules/ts/enable_x.js.map +0 -1
- package/dist/rules/ts/index.d.ts +0 -1137
- package/dist/rules/ts/index.d.ts.map +0 -1
- package/dist/rules/ts/index.js +0 -13
- package/dist/rules/ts/index.js.map +0 -1
- package/dist/rules/yml/enable.d.ts +0 -39
- package/dist/rules/yml/enable.d.ts.map +0 -1
- package/dist/rules/yml/enable.js +0 -68
- package/dist/rules/yml/enable.js.map +0 -1
- package/dist/rules/yml/enable_x.d.ts +0 -37
- package/dist/rules/yml/enable_x.d.ts.map +0 -1
- package/dist/rules/yml/enable_x.js +0 -66
- package/dist/rules/yml/enable_x.js.map +0 -1
- package/dist/rules/yml/index.d.ts +0 -73
- package/dist/rules/yml/index.d.ts.map +0 -1
- package/dist/rules/yml/index.js +0 -7
- package/dist/rules/yml/index.js.map +0 -1
- package/dist/settings.d.ts +0 -7
- package/dist/settings.d.ts.map +0 -1
- package/dist/settings.js +0 -7
- package/dist/settings.js.map +0 -1
- package/src/_strings/id.ts +0 -8
- package/src/_strings/index.ts +0 -6
- package/src/_strings/level.spec.ts +0 -31
- package/src/_strings/level.ts +0 -4
- package/src/_strings/state.ts +0 -28
- package/src/files/index.ts +0 -20
- package/src/files/scopes/html.ts +0 -1
- package/src/files/scopes/js.ts +0 -4
- package/src/files/scopes/json.ts +0 -1
- package/src/files/scopes/jsonc.ts +0 -5
- package/src/files/scopes/mocha.ts +0 -4
- package/src/files/scopes/svelte.ts +0 -1
- package/src/files/scopes/ts.ts +0 -1
- package/src/files/scopes/yml.ts +0 -1
- package/src/ignores/index.ts +0 -31
- package/src/ignores/scopes/html.ts +0 -1
- package/src/ignores/scopes/js.ts +0 -1
- package/src/ignores/scopes/json.ts +0 -1
- package/src/ignores/scopes/jsonc.ts +0 -1
- package/src/ignores/scopes/mocha.ts +0 -1
- package/src/ignores/scopes/svelte.ts +0 -1
- package/src/ignores/scopes/ts.ts +0 -1
- package/src/ignores/scopes/yml.ts +0 -1
- package/src/rules/html/enable.ts +0 -121
- package/src/rules/html/index.ts +0 -3
- package/src/rules/index.ts +0 -19
- package/src/rules/js/enable.ts +0 -547
- package/src/rules/js/index.ts +0 -7
- package/src/rules/js/stylistic.ts +0 -664
- package/src/rules/json/enable.ts +0 -35
- package/src/rules/json/enable_x.ts +0 -91
- package/src/rules/json/index.ts +0 -7
- package/src/rules/jsonc/index.ts +0 -7
- package/src/rules/jsonc/override.ts +0 -18
- package/src/rules/mocha/disable.ts +0 -11
- package/src/rules/mocha/enable.ts +0 -53
- package/src/rules/mocha/index.ts +0 -9
- package/src/rules/svelte/disable.ts +0 -12
- package/src/rules/svelte/disable_js.ts +0 -11
- package/src/rules/svelte/disable_ts.ts +0 -9
- package/src/rules/svelte/enable.ts +0 -232
- package/src/rules/svelte/enable_x.ts +0 -22
- package/src/rules/svelte/index.ts +0 -15
- package/src/rules/ts/disable.ts +0 -25
- package/src/rules/ts/disable_x.ts +0 -35
- package/src/rules/ts/enable.ts +0 -569
- package/src/rules/ts/enable_x.ts +0 -117
- package/src/rules/ts/index.ts +0 -13
- package/src/rules/yml/enable.ts +0 -76
- package/src/rules/yml/enable_x.ts +0 -73
- package/src/rules/yml/index.ts +0 -7
- package/src/settings.ts +0 -6
- /package/src/{imports/index.ts → imports.ts} +0 -0
- /package/src/{imports/parsers.ts → parsers/index.ts} +0 -0
- /package/src/{imports/plugins.ts → plugins/index.ts} +0 -0
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/js/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,wBAGE"}
|
package/dist/rules/js/index.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/rules/js/index.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,aAAa,CAAC;AACpC,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,eAAe;IACb,SAAS;IACT,MAAM;CACP,CAAC"}
|
@@ -1,421 +0,0 @@
|
|
1
|
-
declare const _default: readonly ["stylistic", {
|
2
|
-
readonly "@stylistic/array-bracket-newline": readonly ["error", {
|
3
|
-
readonly multiline: true;
|
4
|
-
readonly minItems: null;
|
5
|
-
}];
|
6
|
-
readonly "@stylistic/array-bracket-spacing": readonly ["error", "never", {
|
7
|
-
readonly singleValue: false;
|
8
|
-
readonly objectsInArrays: false;
|
9
|
-
readonly arraysInArrays: false;
|
10
|
-
}];
|
11
|
-
readonly "@stylistic/array-element-newline": readonly ["error", {
|
12
|
-
readonly ArrayExpression: {
|
13
|
-
readonly consistent: true;
|
14
|
-
readonly multiline: true;
|
15
|
-
readonly minItems: 4;
|
16
|
-
};
|
17
|
-
readonly ArrayPattern: {
|
18
|
-
readonly consistent: true;
|
19
|
-
readonly multiline: true;
|
20
|
-
readonly minItems: 4;
|
21
|
-
};
|
22
|
-
}];
|
23
|
-
readonly "@stylistic/arrow-parens": readonly ["error", "as-needed", {
|
24
|
-
readonly requireForBlockBody: false;
|
25
|
-
}];
|
26
|
-
readonly "@stylistic/arrow-spacing": readonly ["error", {
|
27
|
-
readonly before: true;
|
28
|
-
readonly after: true;
|
29
|
-
}];
|
30
|
-
readonly "@stylistic/block-spacing": readonly ["error", "always"];
|
31
|
-
readonly "@stylistic/brace-style": readonly ["error", "stroustrup", {
|
32
|
-
readonly allowSingleLine: true;
|
33
|
-
}];
|
34
|
-
readonly "@stylistic/comma-dangle": readonly ["error", "always-multiline"];
|
35
|
-
readonly "@stylistic/comma-spacing": readonly ["error", {
|
36
|
-
readonly before: false;
|
37
|
-
readonly after: true;
|
38
|
-
}];
|
39
|
-
readonly "@stylistic/comma-style": readonly ["error", "last", {
|
40
|
-
readonly exceptions: {
|
41
|
-
readonly ArrayExpression: false;
|
42
|
-
readonly ArrayPattern: false;
|
43
|
-
readonly ArrowFunctionExpression: false;
|
44
|
-
readonly CallExpression: false;
|
45
|
-
readonly FunctionDeclaration: false;
|
46
|
-
readonly FunctionExpression: false;
|
47
|
-
readonly ImportDeclaration: false;
|
48
|
-
readonly ObjectExpression: false;
|
49
|
-
readonly ObjectPattern: false;
|
50
|
-
readonly VariableDeclaration: false;
|
51
|
-
readonly NewExpression: false;
|
52
|
-
};
|
53
|
-
}];
|
54
|
-
readonly "@stylistic/computed-property-spacing": readonly ["error", "never", {
|
55
|
-
readonly enforceForClassMembers: true;
|
56
|
-
}];
|
57
|
-
readonly "@stylistic/dot-location": readonly ["error", "property"];
|
58
|
-
readonly "@stylistic/eol-last": readonly ["error", "always"];
|
59
|
-
readonly "@stylistic/function-call-argument-newline": readonly ["error", "consistent"];
|
60
|
-
readonly "@stylistic/function-call-spacing": readonly ["error", "never"];
|
61
|
-
readonly "@stylistic/function-paren-newline": readonly ["error", "multiline-arguments"];
|
62
|
-
readonly "@stylistic/generator-star-spacing": readonly ["error", {
|
63
|
-
readonly before: true;
|
64
|
-
readonly after: false;
|
65
|
-
}];
|
66
|
-
readonly "@stylistic/implicit-arrow-linebreak": readonly ["error", "beside"];
|
67
|
-
readonly "@stylistic/indent": readonly ["error", 2, {
|
68
|
-
readonly ignoredNodes: readonly [];
|
69
|
-
readonly SwitchCase: 1;
|
70
|
-
readonly VariableDeclarator: {
|
71
|
-
readonly var: 0;
|
72
|
-
readonly let: 0;
|
73
|
-
readonly const: 0;
|
74
|
-
};
|
75
|
-
readonly outerIIFEBody: 0;
|
76
|
-
readonly MemberExpression: 1;
|
77
|
-
readonly FunctionDeclaration: {
|
78
|
-
readonly parameters: 1;
|
79
|
-
readonly body: 1;
|
80
|
-
};
|
81
|
-
readonly FunctionExpression: {
|
82
|
-
readonly parameters: 1;
|
83
|
-
readonly body: 1;
|
84
|
-
};
|
85
|
-
readonly StaticBlock: {
|
86
|
-
readonly body: 1;
|
87
|
-
};
|
88
|
-
readonly CallExpression: {
|
89
|
-
readonly arguments: 1;
|
90
|
-
};
|
91
|
-
readonly ArrayExpression: 1;
|
92
|
-
readonly ObjectExpression: 1;
|
93
|
-
readonly ImportDeclaration: 1;
|
94
|
-
readonly flatTernaryExpressions: false;
|
95
|
-
readonly offsetTernaryExpressions: true;
|
96
|
-
readonly ignoreComments: false;
|
97
|
-
}];
|
98
|
-
readonly "@stylistic/indent-binary-ops": readonly ["error", 2];
|
99
|
-
readonly "@stylistic/key-spacing": readonly ["error", {
|
100
|
-
readonly beforeColon: false;
|
101
|
-
readonly afterColon: true;
|
102
|
-
readonly mode: "strict";
|
103
|
-
}];
|
104
|
-
readonly "@stylistic/keyword-spacing": readonly ["error", {
|
105
|
-
readonly before: true;
|
106
|
-
readonly after: true;
|
107
|
-
readonly overrides: {};
|
108
|
-
}];
|
109
|
-
readonly "@stylistic/line-comment-position": "off";
|
110
|
-
readonly "@stylistic/lines-around-comment": readonly ["error", {
|
111
|
-
readonly beforeBlockComment: false;
|
112
|
-
readonly afterBlockComment: false;
|
113
|
-
readonly beforeLineComment: true;
|
114
|
-
readonly afterLineComment: false;
|
115
|
-
readonly allowBlockStart: true;
|
116
|
-
readonly allowBlockEnd: true;
|
117
|
-
readonly allowObjectStart: true;
|
118
|
-
readonly allowObjectEnd: true;
|
119
|
-
readonly allowArrayStart: true;
|
120
|
-
readonly allowArrayEnd: true;
|
121
|
-
readonly allowClassStart: true;
|
122
|
-
readonly allowClassEnd: true;
|
123
|
-
readonly applyDefaultIgnorePatterns: true;
|
124
|
-
readonly afterHashbangComment: false;
|
125
|
-
readonly allowEnumEnd: true;
|
126
|
-
readonly allowEnumStart: true;
|
127
|
-
readonly allowInterfaceEnd: true;
|
128
|
-
readonly allowInterfaceStart: true;
|
129
|
-
readonly allowModuleEnd: true;
|
130
|
-
readonly allowModuleStart: true;
|
131
|
-
readonly allowTypeEnd: true;
|
132
|
-
readonly allowTypeStart: true;
|
133
|
-
}];
|
134
|
-
readonly "@stylistic/lines-between-class-members": readonly ["error", {
|
135
|
-
readonly enforce: readonly [{
|
136
|
-
readonly prev: "field";
|
137
|
-
readonly next: "field";
|
138
|
-
readonly blankLine: "never";
|
139
|
-
}, {
|
140
|
-
readonly prev: "field";
|
141
|
-
readonly next: "method";
|
142
|
-
readonly blankLine: "always";
|
143
|
-
}, {
|
144
|
-
readonly prev: "method";
|
145
|
-
readonly next: "*";
|
146
|
-
readonly blankLine: "always";
|
147
|
-
}];
|
148
|
-
}, {
|
149
|
-
readonly exceptAfterSingleLine: false;
|
150
|
-
readonly exceptAfterOverload: true;
|
151
|
-
}];
|
152
|
-
readonly "@stylistic/max-len": readonly ["error", {
|
153
|
-
readonly code: 150;
|
154
|
-
readonly tabWidth: 2;
|
155
|
-
readonly ignoreComments: true;
|
156
|
-
readonly ignoreTrailingComments: true;
|
157
|
-
readonly ignoreUrls: true;
|
158
|
-
readonly ignoreStrings: true;
|
159
|
-
readonly ignoreTemplateLiterals: true;
|
160
|
-
readonly ignoreRegExpLiterals: true;
|
161
|
-
}];
|
162
|
-
readonly "@stylistic/max-statements-per-line": readonly ["error", {
|
163
|
-
readonly max: 1;
|
164
|
-
}];
|
165
|
-
readonly "@stylistic/member-delimiter-style": readonly ["error", {
|
166
|
-
readonly multiline: {
|
167
|
-
readonly delimiter: "semi";
|
168
|
-
readonly requireLast: true;
|
169
|
-
};
|
170
|
-
readonly singleline: {
|
171
|
-
readonly delimiter: "semi";
|
172
|
-
readonly requireLast: false;
|
173
|
-
};
|
174
|
-
readonly multilineDetection: "brackets";
|
175
|
-
}];
|
176
|
-
readonly "@stylistic/multiline-comment-style": "off";
|
177
|
-
readonly "@stylistic/multiline-ternary": readonly ["error", "always-multiline"];
|
178
|
-
readonly "@stylistic/new-parens": readonly ["off", "never"];
|
179
|
-
readonly "@stylistic/newline-per-chained-call": readonly ["error", {
|
180
|
-
readonly ignoreChainWithDepth: 2;
|
181
|
-
}];
|
182
|
-
readonly "@stylistic/no-confusing-arrow": "off";
|
183
|
-
readonly "@stylistic/no-extra-parens": readonly ["error", "all", {
|
184
|
-
readonly conditionalAssign: true;
|
185
|
-
readonly returnAssign: true;
|
186
|
-
readonly nestedBinaryExpressions: true;
|
187
|
-
readonly ternaryOperandBinaryExpressions: true;
|
188
|
-
readonly enforceForArrowConditionals: true;
|
189
|
-
readonly enforceForSequenceExpressions: true;
|
190
|
-
readonly enforceForNewInMemberExpressions: true;
|
191
|
-
readonly enforceForFunctionPrototypeMethods: true;
|
192
|
-
}];
|
193
|
-
readonly "@stylistic/no-extra-semi": "error";
|
194
|
-
readonly "@stylistic/no-floating-decimal": "error";
|
195
|
-
readonly "@stylistic/no-mixed-operators": "off";
|
196
|
-
readonly "@stylistic/no-mixed-spaces-and-tabs": "error";
|
197
|
-
readonly "@stylistic/no-multi-spaces": readonly ["error", {
|
198
|
-
readonly ignoreEOLComments: false;
|
199
|
-
readonly exceptions: {
|
200
|
-
readonly Property: false;
|
201
|
-
readonly ImportAttributes: false;
|
202
|
-
};
|
203
|
-
readonly includeTabs: true;
|
204
|
-
}];
|
205
|
-
readonly "@stylistic/no-multiple-empty-lines": readonly ["error", {
|
206
|
-
readonly max: 1;
|
207
|
-
readonly maxEOF: 1;
|
208
|
-
readonly maxBOF: 0;
|
209
|
-
}];
|
210
|
-
readonly "@stylistic/no-tabs": readonly ["error", {
|
211
|
-
readonly allowIndentationTabs: false;
|
212
|
-
}];
|
213
|
-
readonly "@stylistic/no-trailing-spaces": readonly ["error", {
|
214
|
-
readonly skipBlankLines: false;
|
215
|
-
readonly ignoreComments: false;
|
216
|
-
}];
|
217
|
-
readonly "@stylistic/no-whitespace-before-property": "error";
|
218
|
-
readonly "@stylistic/nonblock-statement-body-position": readonly ["error", "below", {
|
219
|
-
readonly overrides: {
|
220
|
-
readonly if: "below";
|
221
|
-
readonly else: "below";
|
222
|
-
readonly while: "below";
|
223
|
-
readonly do: "below";
|
224
|
-
readonly for: "below";
|
225
|
-
};
|
226
|
-
}];
|
227
|
-
readonly "@stylistic/object-curly-newline": readonly ["error", {
|
228
|
-
readonly ObjectExpression: {
|
229
|
-
readonly consistent: true;
|
230
|
-
readonly multiline: true;
|
231
|
-
readonly minProperties: 4;
|
232
|
-
};
|
233
|
-
readonly ObjectPattern: {
|
234
|
-
readonly consistent: true;
|
235
|
-
readonly multiline: true;
|
236
|
-
readonly minProperties: 4;
|
237
|
-
};
|
238
|
-
readonly ImportDeclaration: {
|
239
|
-
readonly consistent: true;
|
240
|
-
readonly multiline: true;
|
241
|
-
readonly minProperties: 4;
|
242
|
-
};
|
243
|
-
readonly ExportDeclaration: {
|
244
|
-
readonly consistent: true;
|
245
|
-
readonly multiline: true;
|
246
|
-
readonly minProperties: 4;
|
247
|
-
};
|
248
|
-
}];
|
249
|
-
readonly "@stylistic/object-curly-spacing": readonly ["error", "always", {
|
250
|
-
readonly arraysInObjects: true;
|
251
|
-
readonly objectsInObjects: true;
|
252
|
-
}];
|
253
|
-
readonly "@stylistic/object-property-newline": readonly ["error", {
|
254
|
-
readonly allowAllPropertiesOnSameLine: true;
|
255
|
-
}];
|
256
|
-
readonly "@stylistic/one-var-declaration-per-line": readonly ["error", "always"];
|
257
|
-
readonly "@stylistic/operator-linebreak": readonly ["error", "before", {
|
258
|
-
readonly overrides: {
|
259
|
-
readonly "=": "after";
|
260
|
-
};
|
261
|
-
}];
|
262
|
-
readonly "@stylistic/padded-blocks": readonly ["error", {
|
263
|
-
readonly blocks: "never";
|
264
|
-
readonly classes: "never";
|
265
|
-
readonly switches: "never";
|
266
|
-
}, {
|
267
|
-
readonly allowSingleLineBlocks: true;
|
268
|
-
}];
|
269
|
-
readonly "@stylistic/padding-line-between-statements": readonly ["error", {
|
270
|
-
readonly prev: "directive";
|
271
|
-
readonly next: "*";
|
272
|
-
readonly blankLine: "always";
|
273
|
-
}, {
|
274
|
-
readonly prev: "directive";
|
275
|
-
readonly next: "directive";
|
276
|
-
readonly blankLine: "never";
|
277
|
-
}, {
|
278
|
-
readonly prev: readonly ["import", "cjs-import"];
|
279
|
-
readonly next: "*";
|
280
|
-
readonly blankLine: "always";
|
281
|
-
}, {
|
282
|
-
readonly prev: readonly ["import", "cjs-import"];
|
283
|
-
readonly next: readonly ["import", "cjs-import"];
|
284
|
-
readonly blankLine: "never";
|
285
|
-
}, {
|
286
|
-
readonly prev: readonly ["class", "interface", "try", "for", "if", "do", "while", "switch", "block", "block-like", "iife", "empty", "debugger", "with"];
|
287
|
-
readonly next: "*";
|
288
|
-
readonly blankLine: "always";
|
289
|
-
}, {
|
290
|
-
readonly prev: "case";
|
291
|
-
readonly next: "*";
|
292
|
-
readonly blankLine: "always";
|
293
|
-
}, {
|
294
|
-
readonly prev: "case";
|
295
|
-
readonly next: readonly ["case", "default"];
|
296
|
-
readonly blankLine: "always";
|
297
|
-
}, {
|
298
|
-
readonly prev: "default";
|
299
|
-
readonly next: "*";
|
300
|
-
readonly blankLine: "always";
|
301
|
-
}, {
|
302
|
-
readonly prev: "type";
|
303
|
-
readonly next: "*";
|
304
|
-
readonly blankLine: "always";
|
305
|
-
}, {
|
306
|
-
readonly prev: "type";
|
307
|
-
readonly next: "type";
|
308
|
-
readonly blankLine: "never";
|
309
|
-
}, {
|
310
|
-
readonly prev: "function";
|
311
|
-
readonly next: "*";
|
312
|
-
readonly blankLine: "always";
|
313
|
-
}, {
|
314
|
-
readonly prev: "function-overload";
|
315
|
-
readonly next: "*";
|
316
|
-
readonly blankLine: "always";
|
317
|
-
}, {
|
318
|
-
readonly prev: "function-overload";
|
319
|
-
readonly next: "function-overload";
|
320
|
-
readonly blankLine: "never";
|
321
|
-
}, {
|
322
|
-
readonly prev: "function-overload";
|
323
|
-
readonly next: "function";
|
324
|
-
readonly blankLine: "never";
|
325
|
-
}, {
|
326
|
-
readonly prev: readonly ["const", "let", "var"];
|
327
|
-
readonly next: "*";
|
328
|
-
readonly blankLine: "always";
|
329
|
-
}, {
|
330
|
-
readonly prev: readonly ["const", "let", "var"];
|
331
|
-
readonly next: readonly ["const", "let", "var"];
|
332
|
-
readonly blankLine: "never";
|
333
|
-
}, {
|
334
|
-
readonly prev: "expression";
|
335
|
-
readonly next: "*";
|
336
|
-
readonly blankLine: "always";
|
337
|
-
}, {
|
338
|
-
readonly prev: "expression";
|
339
|
-
readonly next: "expression";
|
340
|
-
readonly blankLine: "never";
|
341
|
-
}, {
|
342
|
-
readonly prev: "*";
|
343
|
-
readonly next: readonly ["throw", "return", "break", "continue"];
|
344
|
-
readonly blankLine: "always";
|
345
|
-
}, {
|
346
|
-
readonly prev: "*";
|
347
|
-
readonly next: readonly ["export", "cjs-export"];
|
348
|
-
readonly blankLine: "always";
|
349
|
-
}, {
|
350
|
-
readonly prev: readonly ["export", "cjs-export"];
|
351
|
-
readonly next: readonly ["export", "cjs-export"];
|
352
|
-
readonly blankLine: "never";
|
353
|
-
}];
|
354
|
-
readonly "@stylistic/quote-props": readonly ["error", "as-needed", {
|
355
|
-
readonly keywords: true;
|
356
|
-
readonly unnecessary: true;
|
357
|
-
readonly numbers: false;
|
358
|
-
}];
|
359
|
-
readonly "@stylistic/quotes": readonly ["error", "double", {
|
360
|
-
readonly avoidEscape: true;
|
361
|
-
readonly allowTemplateLiterals: true;
|
362
|
-
}];
|
363
|
-
readonly "@stylistic/rest-spread-spacing": readonly ["error", "never"];
|
364
|
-
readonly "@stylistic/semi": readonly ["error", "always", {
|
365
|
-
readonly omitLastInOneLineBlock: false;
|
366
|
-
readonly omitLastInOneLineClassBody: false;
|
367
|
-
}];
|
368
|
-
readonly "@stylistic/semi-spacing": readonly ["error", {
|
369
|
-
readonly before: false;
|
370
|
-
readonly after: true;
|
371
|
-
}];
|
372
|
-
readonly "@stylistic/semi-style": readonly ["error", "last"];
|
373
|
-
readonly "@stylistic/space-before-blocks": readonly ["error", {
|
374
|
-
readonly functions: "always";
|
375
|
-
readonly keywords: "always";
|
376
|
-
readonly classes: "always";
|
377
|
-
}];
|
378
|
-
readonly "@stylistic/space-before-function-paren": readonly ["error", {
|
379
|
-
readonly anonymous: "always";
|
380
|
-
readonly named: "never";
|
381
|
-
readonly asyncArrow: "always";
|
382
|
-
}];
|
383
|
-
readonly "@stylistic/space-in-parens": readonly ["error", "never"];
|
384
|
-
readonly "@stylistic/space-infix-ops": readonly ["error", {
|
385
|
-
readonly int32Hint: true;
|
386
|
-
}];
|
387
|
-
readonly "@stylistic/space-unary-ops": readonly ["error", {
|
388
|
-
readonly words: true;
|
389
|
-
readonly nonwords: false;
|
390
|
-
readonly overrides: {};
|
391
|
-
}];
|
392
|
-
readonly "@stylistic/spaced-comment": readonly ["error", "always"];
|
393
|
-
readonly "@stylistic/switch-colon-spacing": readonly ["error", {
|
394
|
-
readonly after: true;
|
395
|
-
readonly before: false;
|
396
|
-
}];
|
397
|
-
readonly "@stylistic/template-curly-spacing": readonly ["error", "never"];
|
398
|
-
readonly "@stylistic/template-tag-spacing": readonly ["error", "never"];
|
399
|
-
readonly "@stylistic/type-annotation-spacing": readonly ["error", {
|
400
|
-
readonly before: true;
|
401
|
-
readonly after: true;
|
402
|
-
readonly overrides: {
|
403
|
-
readonly colon: {
|
404
|
-
readonly before: false;
|
405
|
-
readonly after: true;
|
406
|
-
};
|
407
|
-
};
|
408
|
-
}];
|
409
|
-
readonly "@stylistic/type-generic-spacing": "error";
|
410
|
-
readonly "@stylistic/type-named-tuple-spacing": "error";
|
411
|
-
readonly "@stylistic/wrap-iife": readonly ["error", "inside", {
|
412
|
-
readonly functionPrototypeMethods: true;
|
413
|
-
}];
|
414
|
-
readonly "@stylistic/wrap-regex": "error";
|
415
|
-
readonly "@stylistic/yield-star-spacing": readonly ["error", {
|
416
|
-
readonly before: false;
|
417
|
-
readonly after: true;
|
418
|
-
}];
|
419
|
-
}];
|
420
|
-
export default _default;
|
421
|
-
//# sourceMappingURL=stylistic.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"stylistic.d.ts","sourceRoot":"","sources":["../../../src/rules/js/stylistic.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqBA,wBAkoBW"}
|