@w5s/eslint-config 3.7.3 → 3.10.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 +1193 -196
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +37 -15
- package/dist/index.js.map +1 -1
- package/package.json +12 -16
- package/src/config/react.ts +43 -0
- package/src/config.ts +1 -0
- package/src/defineConfig.ts +19 -1
- package/src/typegen/e18e.d.ts +8 -0
- package/src/typegen/react.d.ts +768 -0
- package/src/typegen/unicorn.d.ts +423 -172
- package/src/typegen/yml.d.ts +10 -0
package/src/typegen/yml.d.ts
CHANGED
|
@@ -109,6 +109,11 @@ export interface RuleOptions {
|
|
|
109
109
|
* @see https://ota-meshi.github.io/eslint-plugin-yml/rules/no-tab-indent.html
|
|
110
110
|
*/
|
|
111
111
|
'yml/no-tab-indent'?: Linter.RuleEntry<[]>
|
|
112
|
+
/**
|
|
113
|
+
* disallow trailing whitespace at the end of lines
|
|
114
|
+
* @see https://ota-meshi.github.io/eslint-plugin-yml/rules/no-trailing-spaces.html
|
|
115
|
+
*/
|
|
116
|
+
'yml/no-trailing-spaces'?: Linter.RuleEntry<YmlNoTrailingSpaces>
|
|
112
117
|
/**
|
|
113
118
|
* disallow trailing zeros for floats
|
|
114
119
|
* @see https://ota-meshi.github.io/eslint-plugin-yml/rules/no-trailing-zeros.html
|
|
@@ -271,6 +276,11 @@ type YmlNoMultipleEmptyLines = []|[{
|
|
|
271
276
|
maxEOF?: number
|
|
272
277
|
maxBOF?: number
|
|
273
278
|
}]
|
|
279
|
+
// ----- yml/no-trailing-spaces -----
|
|
280
|
+
type YmlNoTrailingSpaces = []|[{
|
|
281
|
+
skipBlankLines?: boolean
|
|
282
|
+
ignoreComments?: boolean
|
|
283
|
+
}]
|
|
274
284
|
// ----- yml/plain-scalar -----
|
|
275
285
|
type YmlPlainScalar = []|[("always" | "never")]|[("always" | "never"), {
|
|
276
286
|
ignorePatterns?: string[]
|