@switz/eslint-config 12.3.2 → 12.4.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/README.md CHANGED
@@ -1,5 +1,3 @@
1
- HI
2
-
3
1
  # switz's eslint-config
4
2
 
5
3
  ## Installation
package/eslint.config.mjs CHANGED
@@ -17,7 +17,8 @@ import tseslint from 'typescript-eslint';
17
17
  // },
18
18
  // });
19
19
 
20
- export default tseslint.config(
20
+ /** @type {import('@typescript-eslint/utils').TSESLint.FlatConfig.ConfigFile} */
21
+ export default [
21
22
  {
22
23
  languageOptions: {
23
24
  parserOptions: {
@@ -59,7 +60,7 @@ export default tseslint.config(
59
60
  'quotes': ['error', 'single', { avoidEscape: true }],
60
61
  },
61
62
  },
62
- tseslint.configs.recommended,
63
+ ...tseslint.configs.recommended,
63
64
  prettierPlugin,
64
65
  {
65
66
  rules: {
@@ -74,5 +75,5 @@ export default tseslint.config(
74
75
  },
75
76
  ],
76
77
  },
77
- }
78
- );
78
+ },
79
+ ];
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@switz/eslint-config",
3
- "version": "12.3.2",
3
+ "version": "12.4.0",
4
4
  "description": "",
5
5
  "main": "eslint.config.mjs",
6
6
  "type": "module",
7
7
  "scripts": {
8
8
  "test": "echo \"Error: no test specified\" && exit 1",
9
- "eslint-check": "eslint --print-config path/to/main.js | eslint-config-prettier-check"
9
+ "eslint-check": "eslint-config-prettier eslint.config.mjs"
10
10
  },
11
11
  "author": "",
12
12
  "license": "MIT",
@@ -14,19 +14,19 @@
14
14
  "eslint": ">= 9"
15
15
  },
16
16
  "dependencies": {
17
- "@eslint/js": "^9.24.0",
18
- "@typescript-eslint/parser": "^8.29.1",
19
- "eslint-config-prettier": "^10.1.1",
20
- "eslint-plugin-mdx": "^3.1.5",
21
- "eslint-plugin-prettier": "^5.1.3",
17
+ "@eslint/js": "^10.0.1",
18
+ "@typescript-eslint/parser": "^8.54.0",
19
+ "eslint-config-prettier": "^10.1.8",
20
+ "eslint-plugin-mdx": "^3.6.2",
21
+ "eslint-plugin-prettier": "^5.5.5",
22
22
  "eslint-plugin-react": "^7.34.2",
23
- "globals": "^16.0.0",
24
- "prettier": "3.5.3",
25
- "tailwindcss": "^4.1.3",
26
- "typescript-eslint": "^8.29.0",
27
- "eslint-plugin-readable-tailwind": "^2.0.0"
23
+ "eslint-plugin-readable-tailwind": "^3.0.0",
24
+ "globals": "^17.3.0",
25
+ "prettier": "3.8.1",
26
+ "tailwindcss": "^4.1.18",
27
+ "typescript-eslint": "^8.54.0"
28
28
  },
29
29
  "devDependencies": {
30
- "eslint": "^9.24.0"
30
+ "eslint": "^10.0.0"
31
31
  }
32
32
  }