@w5s/eslint-config 3.24.0 → 3.26.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@w5s/eslint-config",
3
- "version": "3.24.0",
3
+ "version": "3.26.0",
4
4
  "description": "ESLint configuration presets",
5
5
  "keywords": [
6
6
  "eslint",
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "dependencies": {
40
40
  "@e18e/eslint-plugin": "^0.6.0",
41
- "@eslint-react/eslint-plugin": "5.18.0",
41
+ "@eslint-react/eslint-plugin": "5.18.1",
42
42
  "@eslint/js": "^10.0.0",
43
43
  "@eslint/markdown": "^8.0.0",
44
44
  "@next/eslint-plugin-next": "^16.0.0",
@@ -46,9 +46,9 @@
46
46
  "@typescript-eslint/eslint-plugin": "^8.0.0",
47
47
  "@typescript-eslint/parser": "^8.0.0",
48
48
  "@vitest/eslint-plugin": "~1.6.20",
49
- "@w5s/dev": "^3.15.0",
50
- "@w5s/eslint-config-ignore": "^1.14.0",
51
- "@w5s/prettier-config": "^3.9.0",
49
+ "@w5s/dev": "^3.17.0",
50
+ "@w5s/eslint-config-ignore": "^1.16.0",
51
+ "@w5s/prettier-config": "^3.11.0",
52
52
  "eslint-merge-processors": "^2.0.0",
53
53
  "eslint-plugin-import": "~2.32.0",
54
54
  "eslint-plugin-jsdoc": "~63.3.0",
@@ -57,7 +57,7 @@
57
57
  "eslint-plugin-perfectionist": "~5.10.0",
58
58
  "eslint-plugin-unicorn": "~72.0.0",
59
59
  "eslint-plugin-unused-imports": "~4.4.1",
60
- "eslint-plugin-yml": "~3.6.0",
60
+ "eslint-plugin-yml": "~3.7.0",
61
61
  "globals": "^17.0.0",
62
62
  "jsonc-eslint-parser": "^3.0.0",
63
63
  "parse-gitignore": "^2.0.0",
@@ -85,5 +85,5 @@
85
85
  "publishConfig": {
86
86
  "access": "public"
87
87
  },
88
- "gitHead": "72f48a4954798497b4c927b16f50a291d1c193ff"
88
+ "gitHead": "dcf9e4d187060ae2e9c33250078634bd88735d0b"
89
89
  }
@@ -1,8 +1,7 @@
1
- import { interopDefault } from '@w5s/dev';
1
+ import { ESLintConfig, interopDefault } from '@w5s/dev';
2
2
 
3
3
  import type { RuleOptions } from '../typegen/react.js';
4
4
 
5
- import { ESLintConfig } from '../../../dev/dist/index.cjs';
6
5
  import { sourceGlob } from '../glob.js';
7
6
  import { withDefaultFiles } from '../internal/withDefaultFiles.js';
8
7
  import { type Config, type PluginOptionsBase } from '../type.js';
@@ -5,12 +5,7 @@ import type { RuleOptions } from '../typegen/test.js';
5
5
  import { withDefaultFiles } from '../internal/withDefaultFiles.js';
6
6
  import { type Config, type PluginOptionsBase, StylisticConfig } from '../type.js';
7
7
 
8
- const sourceGlob = Project.extensionsToGlob(Project.sourceExtensions());
9
- const defaultFiles = [
10
- `**/__mocks__/**/${sourceGlob}`,
11
- `**/__tests__/**/${sourceGlob}`,
12
- `**/?(*.)+(spec|test)${sourceGlob.slice(1)}`,
13
- ];
8
+ const defaultFiles = Project.extensionsToTestGlob(Project.sourceExtensions());
14
9
 
15
10
  export async function test(options: test.Options = {}) {
16
11
  const [vitestPlugin] = await Promise.all([
@@ -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
+ * disallow boolean mapping keys
79
+ * @see https://ota-meshi.github.io/eslint-plugin-yml/rules/no-boolean-key.html
80
+ */
81
+ 'yml/no-boolean-key'?: Linter.RuleEntry<[]>
77
82
  /**
78
83
  * disallow empty document
79
84
  * @see https://ota-meshi.github.io/eslint-plugin-yml/rules/no-empty-document.html