linted 16.0.1 → 16.0.2-rc.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/statics/rules/presets/entries/entry.d.ts +2 -1
- package/dist/statics/rules/presets/entries/entry.d.ts.map +1 -1
- package/dist/statics/rules/presets/entries/entry.js +1 -1
- package/dist/statics/rules/presets/entries/entry.js.map +1 -1
- package/dist/statics/rules/presets/entries/html/Enable.js +2 -2
- package/dist/statics/rules/presets/entries/html/Enable.js.map +1 -1
- package/dist/statics/rules/presets/entries/html/Recommended.d.ts.map +1 -1
- package/dist/statics/rules/presets/entries/html/Recommended.js +2 -1
- package/dist/statics/rules/presets/entries/html/Recommended.js.map +1 -1
- package/dist/statics/rules/presets/entries/index.d.ts +8 -0
- package/dist/statics/rules/presets/entries/index.d.ts.map +1 -0
- package/dist/statics/rules/presets/entries/index.js +2 -0
- package/dist/statics/rules/presets/entries/index.js.map +1 -0
- package/dist/statics/rules/presets/entries/js/Enable.d.ts.map +1 -1
- package/dist/statics/rules/presets/entries/js/Enable.js +2 -3
- package/dist/statics/rules/presets/entries/js/Enable.js.map +1 -1
- package/dist/statics/rules/presets/entries/js/EnableStylistic.d.ts.map +1 -1
- package/dist/statics/rules/presets/entries/js/EnableStylistic.js +3 -3
- package/dist/statics/rules/presets/entries/js/EnableStylistic.js.map +1 -1
- package/dist/statics/rules/presets/entries/json/Enable.d.ts.map +1 -1
- package/dist/statics/rules/presets/entries/json/Enable.js +2 -3
- package/dist/statics/rules/presets/entries/json/Enable.js.map +1 -1
- package/dist/statics/rules/presets/entries/json/EnableX.d.ts.map +1 -1
- package/dist/statics/rules/presets/entries/json/EnableX.js +2 -3
- package/dist/statics/rules/presets/entries/json/EnableX.js.map +1 -1
- package/dist/statics/rules/presets/entries/jsonc/OverrideJson.d.ts.map +1 -1
- package/dist/statics/rules/presets/entries/jsonc/OverrideJson.js +2 -3
- package/dist/statics/rules/presets/entries/jsonc/OverrideJson.js.map +1 -1
- package/dist/statics/rules/presets/entries/md/Enable.d.ts.map +1 -1
- package/dist/statics/rules/presets/entries/md/Enable.js +2 -3
- package/dist/statics/rules/presets/entries/md/Enable.js.map +1 -1
- package/dist/statics/rules/presets/entries/mocha/Enable.d.ts.map +1 -1
- package/dist/statics/rules/presets/entries/mocha/Enable.js +2 -1
- package/dist/statics/rules/presets/entries/mocha/Enable.js.map +1 -1
- package/dist/statics/rules/presets/entries/mocha/Recommended.d.ts.map +1 -1
- package/dist/statics/rules/presets/entries/mocha/Recommended.js +2 -1
- package/dist/statics/rules/presets/entries/mocha/Recommended.js.map +1 -1
- package/dist/statics/rules/presets/entries/svelte/DisableJS.d.ts.map +1 -1
- package/dist/statics/rules/presets/entries/svelte/DisableJS.js +2 -1
- package/dist/statics/rules/presets/entries/svelte/DisableJS.js.map +1 -1
- package/dist/statics/rules/presets/entries/svelte/DisableTS.d.ts.map +1 -1
- package/dist/statics/rules/presets/entries/svelte/DisableTS.js +2 -1
- package/dist/statics/rules/presets/entries/svelte/DisableTS.js.map +1 -1
- package/dist/statics/rules/presets/entries/svelte/DisableX.js +2 -2
- package/dist/statics/rules/presets/entries/svelte/DisableX.js.map +1 -1
- package/dist/statics/rules/presets/entries/svelte/Enable.d.ts.map +1 -1
- package/dist/statics/rules/presets/entries/svelte/Enable.js +2 -3
- package/dist/statics/rules/presets/entries/svelte/Enable.js.map +1 -1
- package/dist/statics/rules/presets/entries/svelte/EnableX.d.ts.map +1 -1
- package/dist/statics/rules/presets/entries/svelte/EnableX.js +2 -3
- package/dist/statics/rules/presets/entries/svelte/EnableX.js.map +1 -1
- package/dist/statics/rules/presets/entries/ts/DisableCompiler.d.ts.map +1 -1
- package/dist/statics/rules/presets/entries/ts/DisableCompiler.js +2 -1
- package/dist/statics/rules/presets/entries/ts/DisableCompiler.js.map +1 -1
- package/dist/statics/rules/presets/entries/ts/DisableX.js +2 -2
- package/dist/statics/rules/presets/entries/ts/DisableX.js.map +1 -1
- package/dist/statics/rules/presets/entries/ts/Enable.d.ts.map +1 -1
- package/dist/statics/rules/presets/entries/ts/Enable.js +2 -3
- package/dist/statics/rules/presets/entries/ts/Enable.js.map +1 -1
- package/dist/statics/rules/presets/entries/ts/EnableX.d.ts.map +1 -1
- package/dist/statics/rules/presets/entries/ts/EnableX.js +2 -3
- package/dist/statics/rules/presets/entries/ts/EnableX.js.map +1 -1
- package/dist/statics/rules/presets/entries/yml/Enable.d.ts.map +1 -1
- package/dist/statics/rules/presets/entries/yml/Enable.js +2 -3
- package/dist/statics/rules/presets/entries/yml/Enable.js.map +1 -1
- package/dist/statics/rules/presets/entries/yml/EnableX.d.ts.map +1 -1
- package/dist/statics/rules/presets/entries/yml/EnableX.js +2 -3
- package/dist/statics/rules/presets/entries/yml/EnableX.js.map +1 -1
- package/dist/statics/rules/strings/id/index.d.ts +3 -0
- package/dist/statics/rules/strings/id/index.d.ts.map +1 -0
- package/dist/statics/rules/strings/id/index.js +3 -0
- package/dist/statics/rules/strings/id/index.js.map +1 -0
- package/dist/statics/rules/strings/index.d.ts +7 -0
- package/dist/statics/rules/strings/index.d.ts.map +1 -0
- package/dist/statics/rules/strings/index.js +7 -0
- package/dist/statics/rules/strings/index.js.map +1 -0
- package/dist/statics/rules/strings/level/index.d.ts +3 -0
- package/dist/statics/rules/strings/level/index.d.ts.map +1 -0
- package/dist/statics/rules/strings/level/index.js +3 -0
- package/dist/statics/rules/strings/level/index.js.map +1 -0
- package/dist/statics/rules/strings/state/index.d.ts +3 -0
- package/dist/statics/rules/strings/state/index.d.ts.map +1 -0
- package/dist/statics/rules/strings/state/index.js +3 -0
- package/dist/statics/rules/strings/state/index.js.map +1 -0
- package/package.json +1 -1
- package/src/statics/rules/presets/Html.ts +1 -1
- package/src/statics/rules/presets/Js.ts +1 -1
- package/src/statics/rules/presets/Json.ts +1 -1
- package/src/statics/rules/presets/Jsonc.ts +1 -1
- package/src/statics/rules/presets/Md.ts +1 -1
- package/src/statics/rules/presets/Mocha.ts +1 -1
- package/src/statics/rules/presets/Svelte.ts +1 -1
- package/src/statics/rules/presets/Ts.ts +1 -1
- package/src/statics/rules/presets/Yml.ts +1 -1
- package/src/statics/rules/presets/entries/html/Enable.ts +3 -3
- package/src/statics/rules/presets/entries/html/Recommended.ts +3 -2
- package/src/statics/rules/presets/entries/{entry.ts → index.ts} +5 -1
- package/src/statics/rules/presets/entries/js/Enable.ts +16 -13
- package/src/statics/rules/presets/entries/js/EnableStylistic.ts +23 -19
- package/src/statics/rules/presets/entries/json/Enable.ts +3 -5
- package/src/statics/rules/presets/entries/json/EnableX.ts +14 -11
- package/src/statics/rules/presets/entries/jsonc/OverrideJson.ts +9 -6
- package/src/statics/rules/presets/entries/md/Enable.ts +3 -5
- package/src/statics/rules/presets/entries/mocha/Enable.ts +3 -2
- package/src/statics/rules/presets/entries/mocha/Recommended.ts +3 -2
- package/src/statics/rules/presets/entries/svelte/DisableJS.ts +3 -2
- package/src/statics/rules/presets/entries/svelte/DisableTS.ts +3 -2
- package/src/statics/rules/presets/entries/svelte/DisableX.ts +3 -3
- package/src/statics/rules/presets/entries/svelte/Enable.ts +12 -9
- package/src/statics/rules/presets/entries/svelte/EnableX.ts +10 -7
- package/src/statics/rules/presets/entries/ts/DisableCompiler.ts +3 -2
- package/src/statics/rules/presets/entries/ts/DisableX.ts +3 -3
- package/src/statics/rules/presets/entries/ts/Enable.ts +9 -6
- package/src/statics/rules/presets/entries/ts/EnableX.ts +10 -7
- package/src/statics/rules/presets/entries/yml/Enable.ts +11 -8
- package/src/statics/rules/presets/entries/yml/EnableX.ts +11 -8
- package/src/statics/rules/{presets/entries/id.ts → strings/id/index.ts} +2 -0
- package/src/statics/rules/strings/index.ts +6 -0
- /package/src/statics/rules/{presets/entries/level.ts → strings/level/index.ts} +0 -0
- /package/src/statics/rules/{presets/entries/state.ts → strings/state/index.ts} +0 -0
@@ -1,11 +1,14 @@
|
|
1
|
-
import type RuleEntry from "../
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
1
|
+
import { Strings, type RuleEntry } from "../index.js";
|
2
|
+
|
3
|
+
const {
|
4
|
+
Id: { EnableX },
|
5
|
+
Level: { ERROR },
|
6
|
+
State: {
|
7
|
+
NEVER,
|
8
|
+
ALWAYS,
|
9
|
+
STRICT,
|
10
|
+
},
|
11
|
+
} = Strings;
|
9
12
|
|
10
13
|
export default [
|
11
14
|
EnableX,
|
@@ -3,6 +3,7 @@ DisableX = "disable-extend",
|
|
3
3
|
EnableX = "enable-extend",
|
4
4
|
Enable = "enable",
|
5
5
|
Override = "override",
|
6
|
+
Stylistic = "stylistic",
|
6
7
|
Recommended = "recommended";
|
7
8
|
|
8
9
|
export {
|
@@ -11,5 +12,6 @@ export {
|
|
11
12
|
EnableX,
|
12
13
|
Enable,
|
13
14
|
Override,
|
15
|
+
Stylistic,
|
14
16
|
Recommended,
|
15
17
|
};
|
File without changes
|
File without changes
|