@w5s/eslint-config 7.1.1 → 7.2.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/dist/index.d.ts +1321 -598
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +122 -109
- package/dist/index.js.map +1 -1
- package/package.json +13 -12
- package/src/config/markdown.ts +57 -11
- package/src/config/regexp.ts +43 -0
- package/src/config.ts +1 -0
- package/src/defineConfig.ts +2 -0
- package/src/typegen/jsdoc.d.ts +37 -1
- package/src/typegen/node.d.ts +1 -1
- package/src/typegen/perfectionist.d.ts +475 -30
- package/src/typegen/react.d.ts +47 -14
- package/src/typegen/regex.d.ts +427 -0
- package/src/typegen/regexp.d.ts +546 -0
- package/src/typegen/ts.d.ts +11 -1
- package/src/typegen/unicorn.d.ts +479 -407
- package/src/typegen/yml.d.ts +16 -0
package/src/typegen/yml.d.ts
CHANGED
|
@@ -74,6 +74,11 @@ export interface RuleOptions {
|
|
|
74
74
|
* @see https://ota-meshi.github.io/eslint-plugin-yml/rules/key-spacing.html
|
|
75
75
|
*/
|
|
76
76
|
'yml/key-spacing'?: Linter.RuleEntry<YmlKeySpacing>
|
|
77
|
+
/**
|
|
78
|
+
* enforce a maximum line length
|
|
79
|
+
* @see https://ota-meshi.github.io/eslint-plugin-yml/rules/max-len.html
|
|
80
|
+
*/
|
|
81
|
+
'yml/max-len'?: Linter.RuleEntry<YmlMaxLen>
|
|
77
82
|
/**
|
|
78
83
|
* disallow boolean mapping keys
|
|
79
84
|
* @see https://ota-meshi.github.io/eslint-plugin-yml/rules/no-boolean-key.html
|
|
@@ -270,6 +275,17 @@ type YmlKeySpacing = []|[({
|
|
|
270
275
|
afterColon?: boolean
|
|
271
276
|
}
|
|
272
277
|
})]
|
|
278
|
+
// ----- yml/max-len -----
|
|
279
|
+
type YmlMaxLen = []|[{
|
|
280
|
+
code?: number
|
|
281
|
+
comments?: number
|
|
282
|
+
tabWidth?: number
|
|
283
|
+
ignorePattern?: string
|
|
284
|
+
ignoreComments?: boolean
|
|
285
|
+
ignoreTrailingComments?: boolean
|
|
286
|
+
ignoreUrls?: boolean
|
|
287
|
+
ignoreStrings?: boolean
|
|
288
|
+
}]
|
|
273
289
|
// ----- yml/no-irregular-whitespace -----
|
|
274
290
|
type YmlNoIrregularWhitespace = []|[{
|
|
275
291
|
skipComments?: boolean
|