@bfra.me/eslint-config 0.47.7 → 0.48.0
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/lib/index.d.ts +1906 -665
- package/lib/index.js +39 -17
- package/package.json +26 -25
- package/src/configs/jsonc.ts +2 -1
- package/src/configs/perfectionist.ts +27 -10
- package/src/configs/react.ts +1 -1
- package/src/configs/toml.ts +3 -2
- package/src/configs/vitest.ts +1 -0
- package/src/configs/yaml.ts +4 -2
- package/src/plugins.ts +0 -1
- package/src/rules.d.ts +1906 -665
package/lib/index.js
CHANGED
|
@@ -147,7 +147,7 @@ var GLOB_EXCLUDE = [
|
|
|
147
147
|
import { fileURLToPath } from "url";
|
|
148
148
|
|
|
149
149
|
// package.json
|
|
150
|
-
var version = "0.
|
|
150
|
+
var version = "0.48.0";
|
|
151
151
|
|
|
152
152
|
// src/parsers/any-parser.ts
|
|
153
153
|
var lineBreakPattern = /\r\n|[\n\r\u2028\u2029]/u;
|
|
@@ -708,7 +708,8 @@ async function jsonSchema(name, files) {
|
|
|
708
708
|
// src/configs/jsonc.ts
|
|
709
709
|
async function jsonc(options = {}) {
|
|
710
710
|
const { files = GLOB_JSON_FILES, overrides = {}, stylistic: stylistic2 = true } = options;
|
|
711
|
-
const
|
|
711
|
+
const stylisticConfig = typeof stylistic2 === "boolean" ? {} : stylistic2;
|
|
712
|
+
const indent = typeof stylisticConfig.indent === "number" ? stylisticConfig.indent : 2;
|
|
712
713
|
const includeStylistic = typeof stylistic2 === "boolean" ? stylistic2 : true;
|
|
713
714
|
const pluginJsonc = await interopDefault(import("eslint-plugin-jsonc"));
|
|
714
715
|
return [
|
|
@@ -1180,13 +1181,19 @@ async function perfectionist(options = {}) {
|
|
|
1180
1181
|
...sortNamedExports && {
|
|
1181
1182
|
"perfectionist/sort-named-exports": [
|
|
1182
1183
|
isInEditor ? "warn" : "error",
|
|
1183
|
-
{
|
|
1184
|
+
{
|
|
1185
|
+
groups: ["value-export", "type-export"],
|
|
1186
|
+
type: "natural"
|
|
1187
|
+
}
|
|
1184
1188
|
]
|
|
1185
1189
|
},
|
|
1186
1190
|
...sortNamedImports && {
|
|
1187
1191
|
"perfectionist/sort-named-imports": [
|
|
1188
1192
|
isInEditor ? "warn" : "error",
|
|
1189
|
-
{
|
|
1193
|
+
{
|
|
1194
|
+
groups: ["value-import", "type-import"],
|
|
1195
|
+
type: "natural"
|
|
1196
|
+
}
|
|
1190
1197
|
]
|
|
1191
1198
|
},
|
|
1192
1199
|
...sortExports && {
|
|
@@ -1196,18 +1203,29 @@ async function perfectionist(options = {}) {
|
|
|
1196
1203
|
"perfectionist/sort-imports": [
|
|
1197
1204
|
isInEditor ? "warn" : "error",
|
|
1198
1205
|
{
|
|
1206
|
+
customGroups: [
|
|
1207
|
+
{
|
|
1208
|
+
elementNamePattern: "^[~#]/.*",
|
|
1209
|
+
groupName: "internal"
|
|
1210
|
+
},
|
|
1211
|
+
{
|
|
1212
|
+
elementNamePattern: "^[~#]/.*",
|
|
1213
|
+
groupName: "internal-type",
|
|
1214
|
+
selector: "type"
|
|
1215
|
+
}
|
|
1216
|
+
],
|
|
1199
1217
|
groups: [
|
|
1200
|
-
"type",
|
|
1201
|
-
|
|
1202
|
-
"
|
|
1203
|
-
"
|
|
1218
|
+
"type-import",
|
|
1219
|
+
"type-builtin",
|
|
1220
|
+
"type-external",
|
|
1221
|
+
["type-parent", "type-sibling", "type-index"],
|
|
1222
|
+
"value-builtin",
|
|
1223
|
+
"value-external",
|
|
1204
1224
|
["internal", "internal-type"],
|
|
1205
|
-
["parent", "sibling", "index"],
|
|
1206
|
-
"object",
|
|
1225
|
+
["value-parent", "value-sibling", "value-index"],
|
|
1207
1226
|
"side-effect",
|
|
1208
|
-
"
|
|
1227
|
+
"style"
|
|
1209
1228
|
],
|
|
1210
|
-
internalPattern: ["^[~#]/.*"],
|
|
1211
1229
|
newlinesBetween: "ignore",
|
|
1212
1230
|
type: "natural"
|
|
1213
1231
|
}
|
|
@@ -1344,6 +1362,7 @@ var ReactRouterPackages = [
|
|
|
1344
1362
|
];
|
|
1345
1363
|
var NextJsPackages = ["next"];
|
|
1346
1364
|
var ReactTypeAwareRules = {
|
|
1365
|
+
"react/no-implicit-key": "warn",
|
|
1347
1366
|
"react/no-leaked-conditional-rendering": "warn"
|
|
1348
1367
|
};
|
|
1349
1368
|
async function react(options = {}) {
|
|
@@ -1478,7 +1497,6 @@ async function react(options = {}) {
|
|
|
1478
1497
|
"react/no-direct-mutation-state": "error",
|
|
1479
1498
|
"react/no-duplicate-key": "warn",
|
|
1480
1499
|
"react/no-forward-ref": "warn",
|
|
1481
|
-
"react/no-implicit-key": "warn",
|
|
1482
1500
|
"react/no-missing-key": "error",
|
|
1483
1501
|
"react/no-nested-component-definitions": "error",
|
|
1484
1502
|
"react/no-prop-types": "error",
|
|
@@ -1803,7 +1821,8 @@ async function stylistic(options = {}) {
|
|
|
1803
1821
|
// src/configs/toml.ts
|
|
1804
1822
|
async function toml(options = {}) {
|
|
1805
1823
|
const { files = GLOB_TOML_FILES, overrides = {}, stylistic: stylistic2 = true } = options;
|
|
1806
|
-
const
|
|
1824
|
+
const stylisticConfig = typeof stylistic2 === "boolean" ? {} : stylistic2;
|
|
1825
|
+
const indent = typeof stylisticConfig.indent === "number" ? stylisticConfig.indent : 2;
|
|
1807
1826
|
const includeStylistic = typeof stylistic2 === "boolean" ? stylistic2 : true;
|
|
1808
1827
|
const pluginToml = await interopDefault(import("eslint-plugin-toml"));
|
|
1809
1828
|
return [
|
|
@@ -1829,7 +1848,7 @@ async function toml(options = {}) {
|
|
|
1829
1848
|
"toml/array-bracket-newline": "error",
|
|
1830
1849
|
"toml/array-bracket-spacing": "error",
|
|
1831
1850
|
"toml/array-element-newline": "error",
|
|
1832
|
-
"toml/indent": ["error", indent
|
|
1851
|
+
"toml/indent": ["error", indent],
|
|
1833
1852
|
"toml/inline-table-curly-spacing": "error",
|
|
1834
1853
|
"toml/key-spacing": "error",
|
|
1835
1854
|
"toml/padding-line-between-pairs": "error",
|
|
@@ -2170,6 +2189,7 @@ async function vitest(options = {}) {
|
|
|
2170
2189
|
"vitest/consistent-test-it": ["error", { fn: "it", withinDescribe: "it" }],
|
|
2171
2190
|
"vitest/no-focused-tests": isInEditor ? "off" : ["error", { fixable: true }],
|
|
2172
2191
|
"vitest/no-import-node-test": "error",
|
|
2192
|
+
"vitest/no-standalone-expect": ["error", { additionalTestBlockFunctions: [] }],
|
|
2173
2193
|
"vitest/prefer-hooks-in-order": "error",
|
|
2174
2194
|
"vitest/prefer-lowercase-title": "error",
|
|
2175
2195
|
// @ts-expect-error - @vitest/eslint-plugin types are incorrect
|
|
@@ -2197,7 +2217,9 @@ async function vitest(options = {}) {
|
|
|
2197
2217
|
// src/configs/yaml.ts
|
|
2198
2218
|
async function yaml(options = {}) {
|
|
2199
2219
|
const { files = GLOB_YAML_FILES, overrides = {}, stylistic: stylistic2 = true } = options;
|
|
2200
|
-
const
|
|
2220
|
+
const stylisticConfig = typeof stylistic2 === "boolean" ? {} : stylistic2;
|
|
2221
|
+
const indent = typeof stylisticConfig.indent === "number" ? stylisticConfig.indent : 2;
|
|
2222
|
+
const quotes = typeof stylisticConfig.quotes === "string" ? stylisticConfig.quotes : "single";
|
|
2201
2223
|
const includeStylistic = typeof stylistic2 === "boolean" ? stylistic2 : true;
|
|
2202
2224
|
const pluginYaml = await interopDefault(import("eslint-plugin-yml"));
|
|
2203
2225
|
return [
|
|
@@ -2226,7 +2248,7 @@ async function yaml(options = {}) {
|
|
|
2226
2248
|
"yml/flow-mapping-curly-spacing": "error",
|
|
2227
2249
|
"yml/flow-sequence-bracket-newline": "error",
|
|
2228
2250
|
"yml/flow-sequence-bracket-spacing": "error",
|
|
2229
|
-
"yml/indent": ["error", indent
|
|
2251
|
+
"yml/indent": ["error", indent],
|
|
2230
2252
|
"yml/key-spacing": "error",
|
|
2231
2253
|
"yml/no-tab-indent": "error",
|
|
2232
2254
|
"yml/quotes": [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bfra.me/eslint-config",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.48.0",
|
|
4
4
|
"description": "Shared ESLint configuration for bfra.me",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bfra.me",
|
|
@@ -37,62 +37,63 @@
|
|
|
37
37
|
"src"
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@eslint-community/eslint-plugin-eslint-comments": "4.
|
|
40
|
+
"@eslint-community/eslint-plugin-eslint-comments": "4.6.0",
|
|
41
41
|
"@eslint/markdown": "7.5.1",
|
|
42
|
-
"@stylistic/eslint-plugin": "5.
|
|
42
|
+
"@stylistic/eslint-plugin": "5.8.0",
|
|
43
43
|
"eslint-config-flat-gitignore": "2.1.0",
|
|
44
44
|
"eslint-flat-config-utils": "2.1.4",
|
|
45
45
|
"eslint-merge-processors": "2.0.0",
|
|
46
46
|
"eslint-plugin-command": "3.4.0",
|
|
47
47
|
"eslint-plugin-import-x": "4.16.1",
|
|
48
|
-
"eslint-plugin-jsdoc": "61.
|
|
49
|
-
"eslint-plugin-json-schema-validator": "5.5.
|
|
50
|
-
"eslint-plugin-jsonc": "2.21.
|
|
51
|
-
"eslint-plugin-n": "17.
|
|
52
|
-
"eslint-plugin-perfectionist": "
|
|
48
|
+
"eslint-plugin-jsdoc": "61.7.1",
|
|
49
|
+
"eslint-plugin-json-schema-validator": "5.5.1",
|
|
50
|
+
"eslint-plugin-jsonc": "2.21.1",
|
|
51
|
+
"eslint-plugin-n": "17.24.0",
|
|
52
|
+
"eslint-plugin-perfectionist": "5.5.0",
|
|
53
53
|
"eslint-plugin-regexp": "2.10.0",
|
|
54
54
|
"eslint-plugin-toml": "0.12.0",
|
|
55
55
|
"eslint-plugin-unicorn": "62.0.0",
|
|
56
|
-
"eslint-plugin-unused-imports": "4.
|
|
56
|
+
"eslint-plugin-unused-imports": "4.4.1",
|
|
57
57
|
"eslint-plugin-yml": "1.19.1",
|
|
58
|
-
"globals": "
|
|
58
|
+
"globals": "17.3.0",
|
|
59
59
|
"is-in-ci": "2.0.0",
|
|
60
60
|
"local-pkg": "1.1.2",
|
|
61
61
|
"package-manager-detector": "1.6.0",
|
|
62
|
-
"sort-package-json": "3.6.
|
|
63
|
-
"typescript-eslint": "8.
|
|
62
|
+
"sort-package-json": "3.6.1",
|
|
63
|
+
"typescript-eslint": "8.55.0",
|
|
64
64
|
"@bfra.me/es": "0.1.0"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
|
-
"@eslint-react/eslint-plugin": "2.
|
|
67
|
+
"@eslint-react/eslint-plugin": "2.13.0",
|
|
68
68
|
"@eslint/config-inspector": "1.4.2",
|
|
69
|
-
"@eslint/core": "1.
|
|
70
|
-
"@next/eslint-plugin-next": "16.1.
|
|
69
|
+
"@eslint/core": "1.1.0",
|
|
70
|
+
"@next/eslint-plugin-next": "16.1.6",
|
|
71
71
|
"@types/eslint-config-prettier": "6.11.3",
|
|
72
72
|
"@types/eslint-plugin-jsx-a11y": "6.10.1",
|
|
73
|
-
"@typescript-eslint/types": "8.
|
|
74
|
-
"@vitest/eslint-plugin": "1.6.
|
|
75
|
-
"astro-eslint-parser": "1.
|
|
76
|
-
"eslint": "
|
|
73
|
+
"@typescript-eslint/types": "8.55.0",
|
|
74
|
+
"@vitest/eslint-plugin": "1.6.9",
|
|
75
|
+
"astro-eslint-parser": "1.3.0",
|
|
76
|
+
"eslint": "10.0.0",
|
|
77
77
|
"eslint-config-prettier": "10.1.8",
|
|
78
|
-
"eslint-plugin-astro": "1.
|
|
78
|
+
"eslint-plugin-astro": "1.6.0",
|
|
79
79
|
"eslint-plugin-erasable-syntax-only": "0.4.0",
|
|
80
80
|
"eslint-plugin-jsx-a11y": "6.10.2",
|
|
81
81
|
"eslint-plugin-node-dependencies": "1.3.0",
|
|
82
|
-
"eslint-plugin-pnpm": "1.
|
|
83
|
-
"eslint-plugin-prettier": "5.5.
|
|
82
|
+
"eslint-plugin-pnpm": "1.5.0",
|
|
83
|
+
"eslint-plugin-prettier": "5.5.5",
|
|
84
84
|
"eslint-plugin-react-hooks": "7.0.1",
|
|
85
85
|
"eslint-plugin-react-refresh": "0.4.26",
|
|
86
86
|
"eslint-typegen": "2.3.0",
|
|
87
|
-
"@bfra.me/prettier-config": "0.16.
|
|
87
|
+
"@bfra.me/prettier-config": "0.16.7",
|
|
88
|
+
"@bfra.me/tsconfig": "0.12.2",
|
|
88
89
|
"@bfra.me/works": "0.0.0-development"
|
|
89
90
|
},
|
|
90
91
|
"peerDependencies": {
|
|
91
|
-
"@eslint-react/eslint-plugin": "^2.
|
|
92
|
+
"@eslint-react/eslint-plugin": "^2.2.3",
|
|
92
93
|
"@next/eslint-plugin-next": ">=15.5.3",
|
|
93
94
|
"@vitest/eslint-plugin": "^1.1.21",
|
|
94
95
|
"astro-eslint-parser": "^1.2.2",
|
|
95
|
-
"eslint": "^9.38.0",
|
|
96
|
+
"eslint": "^9.38.0 || ^10.0.0",
|
|
96
97
|
"eslint-config-prettier": "^10.1.8",
|
|
97
98
|
"eslint-plugin-astro": "^1.3.1",
|
|
98
99
|
"eslint-plugin-jsx-a11y": ">=6.10.2",
|
package/src/configs/jsonc.ts
CHANGED
|
@@ -16,7 +16,8 @@ export type JsoncOptions = Flatten<OptionsFiles & OptionsOverrides & OptionsStyl
|
|
|
16
16
|
*/
|
|
17
17
|
export async function jsonc(options: JsoncOptions = {}): Promise<Config[]> {
|
|
18
18
|
const {files = GLOB_JSON_FILES, overrides = {}, stylistic = true} = options
|
|
19
|
-
const
|
|
19
|
+
const stylisticConfig = typeof stylistic === 'boolean' ? {} : stylistic
|
|
20
|
+
const indent = typeof stylisticConfig.indent === 'number' ? stylisticConfig.indent : 2
|
|
20
21
|
const includeStylistic = typeof stylistic === 'boolean' ? stylistic : true
|
|
21
22
|
const pluginJsonc = await interopDefault(import('eslint-plugin-jsonc'))
|
|
22
23
|
|
|
@@ -35,14 +35,20 @@ export async function perfectionist(options: PerfectionistOptions = {}): Promise
|
|
|
35
35
|
...(sortNamedExports && {
|
|
36
36
|
'perfectionist/sort-named-exports': [
|
|
37
37
|
isInEditor ? 'warn' : 'error',
|
|
38
|
-
{
|
|
38
|
+
{
|
|
39
|
+
groups: ['value-export', 'type-export'],
|
|
40
|
+
type: 'natural',
|
|
41
|
+
},
|
|
39
42
|
],
|
|
40
43
|
}),
|
|
41
44
|
|
|
42
45
|
...(sortNamedImports && {
|
|
43
46
|
'perfectionist/sort-named-imports': [
|
|
44
47
|
isInEditor ? 'warn' : 'error',
|
|
45
|
-
{
|
|
48
|
+
{
|
|
49
|
+
groups: ['value-import', 'type-import'],
|
|
50
|
+
type: 'natural',
|
|
51
|
+
},
|
|
46
52
|
],
|
|
47
53
|
}),
|
|
48
54
|
|
|
@@ -54,18 +60,29 @@ export async function perfectionist(options: PerfectionistOptions = {}): Promise
|
|
|
54
60
|
'perfectionist/sort-imports': [
|
|
55
61
|
isInEditor ? 'warn' : 'error',
|
|
56
62
|
{
|
|
63
|
+
customGroups: [
|
|
64
|
+
{
|
|
65
|
+
elementNamePattern: '^[~#]/.*',
|
|
66
|
+
groupName: 'internal',
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
elementNamePattern: '^[~#]/.*',
|
|
70
|
+
groupName: 'internal-type',
|
|
71
|
+
selector: 'type',
|
|
72
|
+
},
|
|
73
|
+
],
|
|
57
74
|
groups: [
|
|
58
|
-
'type',
|
|
59
|
-
|
|
60
|
-
'
|
|
61
|
-
'
|
|
75
|
+
'type-import',
|
|
76
|
+
'type-builtin',
|
|
77
|
+
'type-external',
|
|
78
|
+
['type-parent', 'type-sibling', 'type-index'],
|
|
79
|
+
'value-builtin',
|
|
80
|
+
'value-external',
|
|
62
81
|
['internal', 'internal-type'],
|
|
63
|
-
['parent', 'sibling', 'index'],
|
|
64
|
-
'object',
|
|
82
|
+
['value-parent', 'value-sibling', 'value-index'],
|
|
65
83
|
'side-effect',
|
|
66
|
-
'
|
|
84
|
+
'style',
|
|
67
85
|
],
|
|
68
|
-
internalPattern: ['^[~#]/.*'],
|
|
69
86
|
newlinesBetween: 'ignore',
|
|
70
87
|
type: 'natural',
|
|
71
88
|
},
|
package/src/configs/react.ts
CHANGED
|
@@ -25,6 +25,7 @@ const ReactRouterPackages = [
|
|
|
25
25
|
const NextJsPackages = ['next']
|
|
26
26
|
|
|
27
27
|
const ReactTypeAwareRules: Config['rules'] = {
|
|
28
|
+
'react/no-implicit-key': 'warn',
|
|
28
29
|
'react/no-leaked-conditional-rendering': 'warn',
|
|
29
30
|
}
|
|
30
31
|
|
|
@@ -207,7 +208,6 @@ export async function react(options: ReactOptions = {}): Promise<Config[]> {
|
|
|
207
208
|
'react/no-direct-mutation-state': 'error',
|
|
208
209
|
'react/no-duplicate-key': 'warn',
|
|
209
210
|
'react/no-forward-ref': 'warn',
|
|
210
|
-
'react/no-implicit-key': 'warn',
|
|
211
211
|
'react/no-missing-key': 'error',
|
|
212
212
|
'react/no-nested-component-definitions': 'error',
|
|
213
213
|
'react/no-prop-types': 'error',
|
package/src/configs/toml.ts
CHANGED
|
@@ -16,7 +16,8 @@ export type TomlOptions = Flatten<OptionsFiles & OptionsOverrides & OptionsStyli
|
|
|
16
16
|
*/
|
|
17
17
|
export async function toml(options: TomlOptions = {}): Promise<Config[]> {
|
|
18
18
|
const {files = GLOB_TOML_FILES, overrides = {}, stylistic = true} = options
|
|
19
|
-
const
|
|
19
|
+
const stylisticConfig = typeof stylistic === 'boolean' ? {} : stylistic
|
|
20
|
+
const indent = typeof stylisticConfig.indent === 'number' ? stylisticConfig.indent : 2
|
|
20
21
|
const includeStylistic = typeof stylistic === 'boolean' ? stylistic : true
|
|
21
22
|
const pluginToml = await interopDefault(import('eslint-plugin-toml'))
|
|
22
23
|
|
|
@@ -49,7 +50,7 @@ export async function toml(options: TomlOptions = {}): Promise<Config[]> {
|
|
|
49
50
|
'toml/array-bracket-newline': 'error',
|
|
50
51
|
'toml/array-bracket-spacing': 'error',
|
|
51
52
|
'toml/array-element-newline': 'error',
|
|
52
|
-
'toml/indent': ['error', indent
|
|
53
|
+
'toml/indent': ['error', indent],
|
|
53
54
|
'toml/inline-table-curly-spacing': 'error',
|
|
54
55
|
'toml/key-spacing': 'error',
|
|
55
56
|
'toml/padding-line-between-pairs': 'error',
|
package/src/configs/vitest.ts
CHANGED
|
@@ -67,6 +67,7 @@ export async function vitest(options: VitestOptions = {}): Promise<Config[]> {
|
|
|
67
67
|
'vitest/consistent-test-it': ['error', {fn: 'it', withinDescribe: 'it'}],
|
|
68
68
|
'vitest/no-focused-tests': isInEditor ? 'off' : ['error', {fixable: true}],
|
|
69
69
|
'vitest/no-import-node-test': 'error',
|
|
70
|
+
'vitest/no-standalone-expect': ['error', {additionalTestBlockFunctions: []}],
|
|
70
71
|
'vitest/prefer-hooks-in-order': 'error',
|
|
71
72
|
'vitest/prefer-lowercase-title': 'error',
|
|
72
73
|
// @ts-expect-error - @vitest/eslint-plugin types are incorrect
|
package/src/configs/yaml.ts
CHANGED
|
@@ -16,7 +16,9 @@ export type YamlOptions = Flatten<OptionsFiles & OptionsOverrides & OptionsStyli
|
|
|
16
16
|
*/
|
|
17
17
|
export async function yaml(options: YamlOptions = {}): Promise<Config[]> {
|
|
18
18
|
const {files = GLOB_YAML_FILES, overrides = {}, stylistic = true} = options
|
|
19
|
-
const
|
|
19
|
+
const stylisticConfig = typeof stylistic === 'boolean' ? {} : stylistic
|
|
20
|
+
const indent = typeof stylisticConfig.indent === 'number' ? stylisticConfig.indent : 2
|
|
21
|
+
const quotes = typeof stylisticConfig.quotes === 'string' ? stylisticConfig.quotes : 'single'
|
|
20
22
|
const includeStylistic = typeof stylistic === 'boolean' ? stylistic : true
|
|
21
23
|
const pluginYaml = await interopDefault(import('eslint-plugin-yml'))
|
|
22
24
|
|
|
@@ -52,7 +54,7 @@ export async function yaml(options: YamlOptions = {}): Promise<Config[]> {
|
|
|
52
54
|
'yml/flow-mapping-curly-spacing': 'error',
|
|
53
55
|
'yml/flow-sequence-bracket-newline': 'error',
|
|
54
56
|
'yml/flow-sequence-bracket-spacing': 'error',
|
|
55
|
-
'yml/indent': ['error', indent
|
|
57
|
+
'yml/indent': ['error', indent],
|
|
56
58
|
'yml/key-spacing': 'error',
|
|
57
59
|
'yml/no-tab-indent': 'error',
|
|
58
60
|
'yml/quotes': [
|
package/src/plugins.ts
CHANGED