eslint-config-matsuri 4.2.0 → 4.2.2

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/configs/base.js CHANGED
@@ -1,26 +1,23 @@
1
1
  /** @type {import("eslint").Linter.FlatConfig } */
2
2
  export const baseConfig = {
3
- linterOptions: {
4
- reportUnusedDisableDirectives: true,
5
- },
6
3
  ignores: [
7
- "**/node_modules",
8
- "**/public",
4
+ "**/node_modules/**",
5
+ "**/public/**",
9
6
  // Webpack
10
- "webpack.config.cjs",
11
- "webpack.config.js",
12
- "**/build",
7
+ "**/webpack.config.cjs",
8
+ "**/webpack.config.js",
9
+ "**/build/**",
13
10
  // Vite
14
- "vite.config.ts",
15
- "vitest.config.ts",
16
- "**/dist",
11
+ "**/vite.config.ts",
12
+ "**/vitest.config.ts",
13
+ "**/dist/**",
17
14
  // Next.js
18
- "**/.next",
15
+ "**/.next/**",
19
16
  // Nuxt.js
20
- "**/.nuxt",
17
+ "**/.nuxt/**",
21
18
  // endpoints-sdk-cli
22
- "**/endpoints",
19
+ "**/endpoints/**",
23
20
  // Storybook
24
- "**/storybook-static",
21
+ "**/storybook-static/**",
25
22
  ],
26
23
  };
@@ -6,6 +6,9 @@ import pluginUnusedImport from "eslint-plugin-unused-imports";
6
6
 
7
7
  /** @type {import("eslint").Linter.FlatConfig } */
8
8
  export const jsConfig = {
9
+ linterOptions: {
10
+ reportUnusedDisableDirectives: true,
11
+ },
9
12
  files: ["**/*.js", "**/*.mjs", "**/*.ts", "**/*.tsx"],
10
13
  plugins: {
11
14
  "sort-imports-es6-autofix": pluginSortImports,
package/index.d.ts CHANGED
@@ -1,5 +1,13 @@
1
1
  import { Linter } from "eslint";
2
2
 
3
+ export declare const configs: {
4
+ base: Linter.FlatConfig;
5
+ javascript: Linter.FlatConfig;
6
+ typescript: Linter.FlatConfig;
7
+ react: Linter.FlatConfig;
8
+ test: Linter.FlatConfig;
9
+ };
10
+
3
11
  declare const config: Linter.FlatConfig[];
4
12
 
5
13
  export default config;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-matsuri",
3
- "version": "4.2.0",
3
+ "version": "4.2.2",
4
4
  "type": "module",
5
5
  "description": "",
6
6
  "main": "index.js",
@@ -29,12 +29,12 @@
29
29
  "eslint-config-prettier": "9.1.0",
30
30
  "eslint-plugin-css-reorder": "0.5.1",
31
31
  "eslint-plugin-jsx-a11y": "6.8.0",
32
- "eslint-plugin-react": "7.34.0",
32
+ "eslint-plugin-react": "7.34.1",
33
33
  "eslint-plugin-react-hooks": "4.6.0",
34
- "eslint-plugin-react-refresh": "0.4.5",
34
+ "eslint-plugin-react-refresh": "0.4.6",
35
35
  "eslint-plugin-sort-imports-es6-autofix": "0.6.0",
36
36
  "eslint-plugin-unused-imports": "3.1.0",
37
- "globals": "14.0.0",
38
- "typescript-eslint": "7.1.1"
37
+ "globals": "15.0.0",
38
+ "typescript-eslint": "7.5.0"
39
39
  }
40
40
  }