linted 16.3.2 → 16.3.3
Sign up to get free protection for your applications and to get access to all the features.
- package/.github/workflows/RELEASE.yml +35 -0
- package/.github/workflows/rc.yml +35 -0
- package/LICENSE +21 -21
- package/README.md +388 -388
- package/SECURITY.md +9 -9
- package/dist/imports/plugins/index.d.ts.map +1 -1
- package/eslint.config.js +3 -3
- package/package.json +99 -99
- package/src/declarations/markdownlint/index.d.ts +3 -3
- package/src/declarations/markdownlint/parser.d.ts +9 -9
- package/src/declarations/mocha/index.d.ts +8 -8
- package/src/imports/index.ts +4 -4
- package/src/imports/parsers/index.ts +16 -16
- package/src/imports/plugins/index.ts +20 -20
- package/src/index.ts +34 -34
- package/src/statics/files/html/index.ts +1 -1
- package/src/statics/files/index.ts +22 -22
- package/src/statics/files/js/index.ts +1 -1
- package/src/statics/files/json/index.ts +1 -1
- package/src/statics/files/jsonc/index.ts +4 -4
- package/src/statics/files/md/index.ts +1 -1
- package/src/statics/files/mocha/index.ts +1 -1
- package/src/statics/files/svelte/index.ts +1 -1
- package/src/statics/files/ts/index.ts +5 -5
- package/src/statics/files/yml/index.ts +5 -5
- package/src/statics/index.ts +4 -4
- package/src/statics/rules/index.ts +22 -22
- package/src/statics/rules/presets/Html.ts +5 -5
- package/src/statics/rules/presets/Js.ts +5 -5
- package/src/statics/rules/presets/Json.ts +5 -5
- package/src/statics/rules/presets/Jsonc.ts +5 -5
- package/src/statics/rules/presets/Md.ts +4 -4
- package/src/statics/rules/presets/Mocha.ts +5 -5
- package/src/statics/rules/presets/Svelte.ts +16 -16
- package/src/statics/rules/presets/Ts.ts +14 -14
- package/src/statics/rules/presets/Yml.ts +5 -5
- package/src/statics/rules/presets/html/Enable.ts +5 -5
- package/src/statics/rules/presets/html/Recommended.ts +7 -7
- package/src/statics/rules/presets/index.ts +10 -10
- package/src/statics/rules/presets/js/Enable.ts +288 -288
- package/src/statics/rules/presets/js/EnableStylistic.ts +288 -288
- package/src/statics/rules/presets/json/Enable.ts +33 -33
- package/src/statics/rules/presets/json/EnableX.ts +51 -51
- package/src/statics/rules/presets/jsonc/OverrideJson.ts +6 -6
- package/src/statics/rules/presets/md/Enable.ts +23 -23
- package/src/statics/rules/presets/mocha/Enable.ts +5 -5
- package/src/statics/rules/presets/mocha/Recommended.ts +7 -7
- package/src/statics/rules/presets/svelte/DisableJS.ts +7 -7
- package/src/statics/rules/presets/svelte/DisableTS.ts +5 -5
- package/src/statics/rules/presets/svelte/DisableX.ts +6 -6
- package/src/statics/rules/presets/svelte/Enable.ts +130 -130
- package/src/statics/rules/presets/svelte/EnableX.ts +6 -6
- package/src/statics/rules/presets/ts/DisableCompiler.ts +23 -23
- package/src/statics/rules/presets/ts/DisableX.ts +34 -34
- package/src/statics/rules/presets/ts/Enable.ts +407 -407
- package/src/statics/rules/presets/ts/EnableX.ts +87 -87
- package/src/statics/rules/presets/yml/Enable.ts +30 -30
- package/src/statics/rules/presets/yml/EnableX.ts +18 -18
- package/src/statics/rules/strings/id/index.ts +17 -17
- package/src/statics/rules/strings/index.ts +6 -6
- package/src/statics/rules/strings/level/index.ts +5 -5
- package/src/statics/rules/strings/state/index.ts +55 -55
- package/tsconfig.json +160 -160
@@ -1,87 +1,87 @@
|
|
1
|
-
import { Strings, type RuleEntry } from "../index.js";
|
2
|
-
|
3
|
-
const { Id: { EnableX }, Level: { ERROR, OFF }, State: { ALWAYS, ALL } } = Strings;
|
4
|
-
|
5
|
-
export default [
|
6
|
-
EnableX,
|
7
|
-
{
|
8
|
-
|
9
|
-
// https://typescript-eslint.io/rules/?=extension-xdeprecated#rules ]
|
10
|
-
"@typescript-eslint/class-methods-use-this": OFF, /* preference -- eslint:off */
|
11
|
-
"@typescript-eslint/consistent-return": OFF, /* tsconfig: noImplicitReturns */
|
12
|
-
"@typescript-eslint/default-param-last": ERROR,
|
13
|
-
"@typescript-eslint/dot-notation": [
|
14
|
-
ERROR,
|
15
|
-
{
|
16
|
-
allowKeywords: true,
|
17
|
-
|
18
|
-
// TS-only
|
19
|
-
allowPrivateClassPropertyAccess: true,
|
20
|
-
allowProtectedClassPropertyAccess: true,
|
21
|
-
allowIndexSignaturePropertyAccess: true,
|
22
|
-
},
|
23
|
-
],
|
24
|
-
"@typescript-eslint/init-declarations": [
|
25
|
-
ERROR,
|
26
|
-
ALWAYS,
|
27
|
-
],
|
28
|
-
"@typescript-eslint/max-params": OFF /* preference */,
|
29
|
-
"@typescript-eslint/no-array-constructor": ERROR,
|
30
|
-
"@typescript-eslint/no-dupe-class-members": OFF /* tsc */,
|
31
|
-
"@typescript-eslint/no-empty-function": [
|
32
|
-
ERROR,
|
33
|
-
{
|
34
|
-
allow: [
|
35
|
-
"constructors",
|
36
|
-
"private-constructors",
|
37
|
-
"protected-constructors",
|
38
|
-
"decoratedFunctions",
|
39
|
-
],
|
40
|
-
}, /* functions, arrowFunctions, generatorFunctions, methods, generatorMethods, getters, setters, constructors, asyncFunctions, asyncMethods; TS-ONLY: private-constructors, protected-constructors, decoratedFunctions, overrideMethods */
|
41
|
-
],
|
42
|
-
"@typescript-eslint/no-implied-eval": ERROR,
|
43
|
-
"@typescript-eslint/no-invalid-this": OFF /* tsconfig: { strict, noImplicitThis } */,
|
44
|
-
"@typescript-eslint/no-loop-func": ERROR,
|
45
|
-
"@typescript-eslint/no-magic-numbers": OFF,
|
46
|
-
"@typescript-eslint/no-redeclare": OFF /* tsc (let, const, -var) */,
|
47
|
-
"@typescript-eslint/no-restricted-imports": OFF, /* preference */
|
48
|
-
"@typescript-eslint/no-shadow": OFF, /* investigate */
|
49
|
-
"@typescript-eslint/no-unused-expressions": [
|
50
|
-
ERROR,
|
51
|
-
{
|
52
|
-
allowShortCircuit: true,
|
53
|
-
allowTernary: true,
|
54
|
-
allowTaggedTemplates: true,
|
55
|
-
enforceForJSX: false,
|
56
|
-
},
|
57
|
-
],
|
58
|
-
"@typescript-eslint/no-unused-vars": [
|
59
|
-
ERROR,
|
60
|
-
{
|
61
|
-
vars: ALL,
|
62
|
-
args: ALL,
|
63
|
-
caughtErrors: ALL,
|
64
|
-
ignoreRestSiblings: false,
|
65
|
-
ignoreClassWithStaticInitBlock: false,
|
66
|
-
reportUsedIgnorePattern: true,
|
67
|
-
},
|
68
|
-
],
|
69
|
-
"@typescript-eslint/no-use-before-define": [
|
70
|
-
ERROR,
|
71
|
-
{
|
72
|
-
functions: true,
|
73
|
-
classes: true,
|
74
|
-
variables: true,
|
75
|
-
allowNamedExports: false,
|
76
|
-
enums: true,
|
77
|
-
typedefs: false, /* changed 14.2.2 (still questionable) */
|
78
|
-
ignoreTypeReferences: true,
|
79
|
-
},
|
80
|
-
],
|
81
|
-
"@typescript-eslint/no-useless-constructor": ERROR,
|
82
|
-
"@typescript-eslint/only-throw-error": [ERROR, { allowThrowingAny: false, allowThrowingUnknown: false }],
|
83
|
-
"@typescript-eslint/prefer-destructuring": [ERROR, { VariableDeclarator: { array: true, object: true }, AssignmentExpression: { array: false, object: false } }, { enforceForRenamedProperties: false, enforceForDeclarationWithTypeAnnotation: false }],
|
84
|
-
"@typescript-eslint/prefer-promise-reject-errors": [ERROR, { allowEmptyReject: false }],
|
85
|
-
"@typescript-eslint/require-await": ERROR,
|
86
|
-
},
|
87
|
-
] as const satisfies RuleEntry;
|
1
|
+
import { Strings, type RuleEntry } from "../index.js";
|
2
|
+
|
3
|
+
const { Id: { EnableX }, Level: { ERROR, OFF }, State: { ALWAYS, ALL } } = Strings;
|
4
|
+
|
5
|
+
export default [
|
6
|
+
EnableX,
|
7
|
+
{
|
8
|
+
|
9
|
+
// https://typescript-eslint.io/rules/?=extension-xdeprecated#rules ]
|
10
|
+
"@typescript-eslint/class-methods-use-this": OFF, /* preference -- eslint:off */
|
11
|
+
"@typescript-eslint/consistent-return": OFF, /* tsconfig: noImplicitReturns */
|
12
|
+
"@typescript-eslint/default-param-last": ERROR,
|
13
|
+
"@typescript-eslint/dot-notation": [
|
14
|
+
ERROR,
|
15
|
+
{
|
16
|
+
allowKeywords: true,
|
17
|
+
|
18
|
+
// TS-only
|
19
|
+
allowPrivateClassPropertyAccess: true,
|
20
|
+
allowProtectedClassPropertyAccess: true,
|
21
|
+
allowIndexSignaturePropertyAccess: true,
|
22
|
+
},
|
23
|
+
],
|
24
|
+
"@typescript-eslint/init-declarations": [
|
25
|
+
ERROR,
|
26
|
+
ALWAYS,
|
27
|
+
],
|
28
|
+
"@typescript-eslint/max-params": OFF /* preference */,
|
29
|
+
"@typescript-eslint/no-array-constructor": ERROR,
|
30
|
+
"@typescript-eslint/no-dupe-class-members": OFF /* tsc */,
|
31
|
+
"@typescript-eslint/no-empty-function": [
|
32
|
+
ERROR,
|
33
|
+
{
|
34
|
+
allow: [
|
35
|
+
"constructors",
|
36
|
+
"private-constructors",
|
37
|
+
"protected-constructors",
|
38
|
+
"decoratedFunctions",
|
39
|
+
],
|
40
|
+
}, /* functions, arrowFunctions, generatorFunctions, methods, generatorMethods, getters, setters, constructors, asyncFunctions, asyncMethods; TS-ONLY: private-constructors, protected-constructors, decoratedFunctions, overrideMethods */
|
41
|
+
],
|
42
|
+
"@typescript-eslint/no-implied-eval": ERROR,
|
43
|
+
"@typescript-eslint/no-invalid-this": OFF /* tsconfig: { strict, noImplicitThis } */,
|
44
|
+
"@typescript-eslint/no-loop-func": ERROR,
|
45
|
+
"@typescript-eslint/no-magic-numbers": OFF,
|
46
|
+
"@typescript-eslint/no-redeclare": OFF /* tsc (let, const, -var) */,
|
47
|
+
"@typescript-eslint/no-restricted-imports": OFF, /* preference */
|
48
|
+
"@typescript-eslint/no-shadow": OFF, /* investigate */
|
49
|
+
"@typescript-eslint/no-unused-expressions": [
|
50
|
+
ERROR,
|
51
|
+
{
|
52
|
+
allowShortCircuit: true,
|
53
|
+
allowTernary: true,
|
54
|
+
allowTaggedTemplates: true,
|
55
|
+
enforceForJSX: false,
|
56
|
+
},
|
57
|
+
],
|
58
|
+
"@typescript-eslint/no-unused-vars": [
|
59
|
+
ERROR,
|
60
|
+
{
|
61
|
+
vars: ALL,
|
62
|
+
args: ALL,
|
63
|
+
caughtErrors: ALL,
|
64
|
+
ignoreRestSiblings: false,
|
65
|
+
ignoreClassWithStaticInitBlock: false,
|
66
|
+
reportUsedIgnorePattern: true,
|
67
|
+
},
|
68
|
+
],
|
69
|
+
"@typescript-eslint/no-use-before-define": [
|
70
|
+
ERROR,
|
71
|
+
{
|
72
|
+
functions: true,
|
73
|
+
classes: true,
|
74
|
+
variables: true,
|
75
|
+
allowNamedExports: false,
|
76
|
+
enums: true,
|
77
|
+
typedefs: false, /* changed 14.2.2 (still questionable) */
|
78
|
+
ignoreTypeReferences: true,
|
79
|
+
},
|
80
|
+
],
|
81
|
+
"@typescript-eslint/no-useless-constructor": ERROR,
|
82
|
+
"@typescript-eslint/only-throw-error": [ERROR, { allowThrowingAny: false, allowThrowingUnknown: false }],
|
83
|
+
"@typescript-eslint/prefer-destructuring": [ERROR, { VariableDeclarator: { array: true, object: true }, AssignmentExpression: { array: false, object: false } }, { enforceForRenamedProperties: false, enforceForDeclarationWithTypeAnnotation: false }],
|
84
|
+
"@typescript-eslint/prefer-promise-reject-errors": [ERROR, { allowEmptyReject: false }],
|
85
|
+
"@typescript-eslint/require-await": ERROR,
|
86
|
+
},
|
87
|
+
] as const satisfies RuleEntry;
|
@@ -1,30 +1,30 @@
|
|
1
|
-
import { Strings, type RuleEntry } from "../index.js";
|
2
|
-
|
3
|
-
const { Id: { Enable }, Level: { ERROR, OFF }, State: { NEVER, ALWAYS, DOUBLE } } = Strings;
|
4
|
-
|
5
|
-
export default [
|
6
|
-
Enable,
|
7
|
-
{
|
8
|
-
// https://ota-meshi.github.io/eslint-plugin-yml/rules/#yaml-rules
|
9
|
-
"yml/block-mapping-colon-indicator-newline": [ERROR, NEVER],
|
10
|
-
"yml/block-mapping-question-indicator-newline": [ERROR, NEVER],
|
11
|
-
"yml/block-mapping": [ERROR, { singleline: NEVER, multiline: ALWAYS }],
|
12
|
-
"yml/block-sequence-hyphen-indicator-newline": [ERROR, NEVER, { nestedHyphen: ALWAYS, blockMapping: NEVER }],
|
13
|
-
"yml/block-sequence": [ERROR, { singleline: ALWAYS, multiline: ALWAYS }],
|
14
|
-
"yml/file-extension": OFF,
|
15
|
-
"yml/indent": [ERROR, 2, { indentBlockSequences: true, indicatorValueIndent: 2 }],
|
16
|
-
"yml/key-name-casing": OFF,
|
17
|
-
"yml/no-empty-document": ERROR,
|
18
|
-
"yml/no-empty-key": ERROR,
|
19
|
-
"yml/no-empty-mapping-value": ERROR,
|
20
|
-
"yml/no-empty-sequence-entry": ERROR,
|
21
|
-
"yml/no-tab-indent": ERROR,
|
22
|
-
"yml/no-trailing-zeros": ERROR,
|
23
|
-
"yml/plain-scalar": [ERROR, ALWAYS],
|
24
|
-
"yml/quotes": [ERROR, { prefer: DOUBLE, avoidEscape: true }],
|
25
|
-
"yml/require-string-key": ERROR,
|
26
|
-
"yml/sort-keys": OFF,
|
27
|
-
"yml/sort-sequence-values": OFF,
|
28
|
-
"yml/vue-custom-block/no-parsing-error": ERROR,
|
29
|
-
},
|
30
|
-
] as const satisfies RuleEntry;
|
1
|
+
import { Strings, type RuleEntry } from "../index.js";
|
2
|
+
|
3
|
+
const { Id: { Enable }, Level: { ERROR, OFF }, State: { NEVER, ALWAYS, DOUBLE } } = Strings;
|
4
|
+
|
5
|
+
export default [
|
6
|
+
Enable,
|
7
|
+
{
|
8
|
+
// https://ota-meshi.github.io/eslint-plugin-yml/rules/#yaml-rules
|
9
|
+
"yml/block-mapping-colon-indicator-newline": [ERROR, NEVER],
|
10
|
+
"yml/block-mapping-question-indicator-newline": [ERROR, NEVER],
|
11
|
+
"yml/block-mapping": [ERROR, { singleline: NEVER, multiline: ALWAYS }],
|
12
|
+
"yml/block-sequence-hyphen-indicator-newline": [ERROR, NEVER, { nestedHyphen: ALWAYS, blockMapping: NEVER }],
|
13
|
+
"yml/block-sequence": [ERROR, { singleline: ALWAYS, multiline: ALWAYS }],
|
14
|
+
"yml/file-extension": OFF,
|
15
|
+
"yml/indent": [ERROR, 2, { indentBlockSequences: true, indicatorValueIndent: 2 }],
|
16
|
+
"yml/key-name-casing": OFF,
|
17
|
+
"yml/no-empty-document": ERROR,
|
18
|
+
"yml/no-empty-key": ERROR,
|
19
|
+
"yml/no-empty-mapping-value": ERROR,
|
20
|
+
"yml/no-empty-sequence-entry": ERROR,
|
21
|
+
"yml/no-tab-indent": ERROR,
|
22
|
+
"yml/no-trailing-zeros": ERROR,
|
23
|
+
"yml/plain-scalar": [ERROR, ALWAYS],
|
24
|
+
"yml/quotes": [ERROR, { prefer: DOUBLE, avoidEscape: true }],
|
25
|
+
"yml/require-string-key": ERROR,
|
26
|
+
"yml/sort-keys": OFF,
|
27
|
+
"yml/sort-sequence-values": OFF,
|
28
|
+
"yml/vue-custom-block/no-parsing-error": ERROR,
|
29
|
+
},
|
30
|
+
] as const satisfies RuleEntry;
|
@@ -1,18 +1,18 @@
|
|
1
|
-
import { Strings, type RuleEntry } from "../index.js";
|
2
|
-
|
3
|
-
const { Id: { EnableX }, Level: { ERROR }, State: { NEVER, ALWAYS, STRICT } } = Strings;
|
4
|
-
|
5
|
-
export default [
|
6
|
-
EnableX,
|
7
|
-
{
|
8
|
-
// https://ota-meshi.github.io/eslint-plugin-yml/rules/#extension-rules
|
9
|
-
"yml/flow-mapping-curly-newline": [ERROR, { consistent: false, multiline: true, minProperties: 2 }],
|
10
|
-
"yml/flow-mapping-curly-spacing": [ERROR, ALWAYS, { arraysInObjects: true, objectsInObjects: true }],
|
11
|
-
"yml/flow-sequence-bracket-newline": [ERROR, { multiline: true, minItems: null }],
|
12
|
-
"yml/flow-sequence-bracket-spacing": [ERROR, NEVER, { singleValue: false, objectsInArrays: false, arraysInArrays: false }],
|
13
|
-
"yml/key-spacing": [ERROR, { beforeColon: false, afterColon: true, mode: STRICT }],
|
14
|
-
"yml/no-irregular-whitespace": [ERROR, { skipQuotedScalars: true, skipComments: false }],
|
15
|
-
"yml/no-multiple-empty-lines": [ERROR, { max: 1, maxEOF: 1, maxBOF: 0 }],
|
16
|
-
"yml/spaced-comment": [ERROR, ALWAYS],
|
17
|
-
},
|
18
|
-
] as const satisfies RuleEntry;
|
1
|
+
import { Strings, type RuleEntry } from "../index.js";
|
2
|
+
|
3
|
+
const { Id: { EnableX }, Level: { ERROR }, State: { NEVER, ALWAYS, STRICT } } = Strings;
|
4
|
+
|
5
|
+
export default [
|
6
|
+
EnableX,
|
7
|
+
{
|
8
|
+
// https://ota-meshi.github.io/eslint-plugin-yml/rules/#extension-rules
|
9
|
+
"yml/flow-mapping-curly-newline": [ERROR, { consistent: false, multiline: true, minProperties: 2 }],
|
10
|
+
"yml/flow-mapping-curly-spacing": [ERROR, ALWAYS, { arraysInObjects: true, objectsInObjects: true }],
|
11
|
+
"yml/flow-sequence-bracket-newline": [ERROR, { multiline: true, minItems: null }],
|
12
|
+
"yml/flow-sequence-bracket-spacing": [ERROR, NEVER, { singleValue: false, objectsInArrays: false, arraysInArrays: false }],
|
13
|
+
"yml/key-spacing": [ERROR, { beforeColon: false, afterColon: true, mode: STRICT }],
|
14
|
+
"yml/no-irregular-whitespace": [ERROR, { skipQuotedScalars: true, skipComments: false }],
|
15
|
+
"yml/no-multiple-empty-lines": [ERROR, { max: 1, maxEOF: 1, maxBOF: 0 }],
|
16
|
+
"yml/spaced-comment": [ERROR, ALWAYS],
|
17
|
+
},
|
18
|
+
] as const satisfies RuleEntry;
|
@@ -1,17 +1,17 @@
|
|
1
|
-
const Disable = "disable",
|
2
|
-
DisableX = "disable-extend",
|
3
|
-
EnableX = "enable-extend",
|
4
|
-
Enable = "enable",
|
5
|
-
Override = "override",
|
6
|
-
Stylistic = "stylistic",
|
7
|
-
Recommended = "recommended";
|
8
|
-
|
9
|
-
export {
|
10
|
-
Disable,
|
11
|
-
DisableX,
|
12
|
-
EnableX,
|
13
|
-
Enable,
|
14
|
-
Override,
|
15
|
-
Stylistic,
|
16
|
-
Recommended,
|
17
|
-
};
|
1
|
+
const Disable = "disable",
|
2
|
+
DisableX = "disable-extend",
|
3
|
+
EnableX = "enable-extend",
|
4
|
+
Enable = "enable",
|
5
|
+
Override = "override",
|
6
|
+
Stylistic = "stylistic",
|
7
|
+
Recommended = "recommended";
|
8
|
+
|
9
|
+
export {
|
10
|
+
Disable,
|
11
|
+
DisableX,
|
12
|
+
EnableX,
|
13
|
+
Enable,
|
14
|
+
Override,
|
15
|
+
Stylistic,
|
16
|
+
Recommended,
|
17
|
+
};
|
@@ -1,6 +1,6 @@
|
|
1
|
-
export * from "./id/index.js";
|
2
|
-
export * from "./level/index.js";
|
3
|
-
export * from "./state/index.js";
|
4
|
-
export * as Id from "./id/index.js";
|
5
|
-
export * as State from "./state/index.js";
|
6
|
-
export * as Level from "./level/index.js";
|
1
|
+
export * from "./id/index.js";
|
2
|
+
export * from "./level/index.js";
|
3
|
+
export * from "./state/index.js";
|
4
|
+
export * as Id from "./id/index.js";
|
5
|
+
export * as State from "./state/index.js";
|
6
|
+
export * as Level from "./level/index.js";
|
@@ -1,5 +1,5 @@
|
|
1
|
-
const ERROR = "error",
|
2
|
-
WARN = "warn",
|
3
|
-
OFF = "off";
|
4
|
-
|
5
|
-
export { ERROR, WARN, OFF };
|
1
|
+
const ERROR = "error",
|
2
|
+
WARN = "warn",
|
3
|
+
OFF = "off";
|
4
|
+
|
5
|
+
export { ERROR, WARN, OFF };
|
@@ -1,55 +1,55 @@
|
|
1
|
-
const NEVER = "never",
|
2
|
-
ALWAYS = "always",
|
3
|
-
ALWAYS_MULTILINE = "always-multiline",
|
4
|
-
MULTILINE = "multiline",
|
5
|
-
CONSISTENT = "consistent",
|
6
|
-
CONSECUTIVE = "consecutive",
|
7
|
-
AS_NEEDED = "as-needed",
|
8
|
-
EXPLICIT = "explicit",
|
9
|
-
ALLOW = "allow",
|
10
|
-
STRICT = "strict",
|
11
|
-
ANY = "any",
|
12
|
-
ALL = "all",
|
13
|
-
STAR = "*",
|
14
|
-
FIRST = "first",
|
15
|
-
LAST = "last",
|
16
|
-
BEFORE = "before",
|
17
|
-
AFTER = "after",
|
18
|
-
ABOVE = "above",
|
19
|
-
BELOW = "below",
|
20
|
-
BESIDE = "beside",
|
21
|
-
INSIDE = "inside",
|
22
|
-
OUTSIDE = "outside",
|
23
|
-
SINGLE = "single",
|
24
|
-
DOUBLE = "double",
|
25
|
-
MULTI = "multi",
|
26
|
-
BOTH = "both";
|
27
|
-
|
28
|
-
export {
|
29
|
-
NEVER,
|
30
|
-
ALWAYS,
|
31
|
-
ALWAYS_MULTILINE,
|
32
|
-
MULTILINE,
|
33
|
-
CONSISTENT,
|
34
|
-
CONSECUTIVE,
|
35
|
-
AS_NEEDED,
|
36
|
-
EXPLICIT,
|
37
|
-
ALLOW,
|
38
|
-
STRICT,
|
39
|
-
ANY,
|
40
|
-
ALL,
|
41
|
-
STAR,
|
42
|
-
FIRST,
|
43
|
-
LAST,
|
44
|
-
BEFORE,
|
45
|
-
AFTER,
|
46
|
-
ABOVE,
|
47
|
-
BELOW,
|
48
|
-
BESIDE,
|
49
|
-
INSIDE,
|
50
|
-
OUTSIDE,
|
51
|
-
SINGLE,
|
52
|
-
DOUBLE,
|
53
|
-
MULTI,
|
54
|
-
BOTH,
|
55
|
-
};
|
1
|
+
const NEVER = "never",
|
2
|
+
ALWAYS = "always",
|
3
|
+
ALWAYS_MULTILINE = "always-multiline",
|
4
|
+
MULTILINE = "multiline",
|
5
|
+
CONSISTENT = "consistent",
|
6
|
+
CONSECUTIVE = "consecutive",
|
7
|
+
AS_NEEDED = "as-needed",
|
8
|
+
EXPLICIT = "explicit",
|
9
|
+
ALLOW = "allow",
|
10
|
+
STRICT = "strict",
|
11
|
+
ANY = "any",
|
12
|
+
ALL = "all",
|
13
|
+
STAR = "*",
|
14
|
+
FIRST = "first",
|
15
|
+
LAST = "last",
|
16
|
+
BEFORE = "before",
|
17
|
+
AFTER = "after",
|
18
|
+
ABOVE = "above",
|
19
|
+
BELOW = "below",
|
20
|
+
BESIDE = "beside",
|
21
|
+
INSIDE = "inside",
|
22
|
+
OUTSIDE = "outside",
|
23
|
+
SINGLE = "single",
|
24
|
+
DOUBLE = "double",
|
25
|
+
MULTI = "multi",
|
26
|
+
BOTH = "both";
|
27
|
+
|
28
|
+
export {
|
29
|
+
NEVER,
|
30
|
+
ALWAYS,
|
31
|
+
ALWAYS_MULTILINE,
|
32
|
+
MULTILINE,
|
33
|
+
CONSISTENT,
|
34
|
+
CONSECUTIVE,
|
35
|
+
AS_NEEDED,
|
36
|
+
EXPLICIT,
|
37
|
+
ALLOW,
|
38
|
+
STRICT,
|
39
|
+
ANY,
|
40
|
+
ALL,
|
41
|
+
STAR,
|
42
|
+
FIRST,
|
43
|
+
LAST,
|
44
|
+
BEFORE,
|
45
|
+
AFTER,
|
46
|
+
ABOVE,
|
47
|
+
BELOW,
|
48
|
+
BESIDE,
|
49
|
+
INSIDE,
|
50
|
+
OUTSIDE,
|
51
|
+
SINGLE,
|
52
|
+
DOUBLE,
|
53
|
+
MULTI,
|
54
|
+
BOTH,
|
55
|
+
};
|