@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.
@@ -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[]