eslint-config-tamia 9.1.22 → 9.2.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,7 +1,7 @@
1
1
  {
2
2
  "name": "eslint-config-tamia",
3
3
  "description": "Tâmia ESLint config",
4
- "version": "9.1.22",
4
+ "version": "9.2.0",
5
5
  "type": "module",
6
6
  "main": "index.mjs",
7
7
  "exports": {
@@ -43,18 +43,18 @@
43
43
  "devDependencies": {
44
44
  "@types/eslint__js": "^8.42.3",
45
45
  "@types/react": "^18.3.5",
46
- "eslint": ">=9.10",
46
+ "eslint": ">=9.16",
47
47
  "react": "^18.3.1",
48
- "vitest": "^2.0.5"
48
+ "vitest": "^2.1.8"
49
49
  },
50
50
  "peerDependencies": {
51
51
  "eslint": ">=9.7"
52
52
  },
53
53
  "dependencies": {
54
- "@eslint/js": "^9.10.0",
55
- "eslint-plugin-react": "^7.35.2",
56
- "eslint-plugin-unicorn": "^55.0.0",
57
- "globals": "^15.9.0",
58
- "typescript-eslint": "^8.4.0"
54
+ "@eslint/js": "^9.16.0",
55
+ "eslint-plugin-react": "^7.37.2",
56
+ "eslint-plugin-unicorn": "^56.0.1",
57
+ "globals": "^15.13.0",
58
+ "typescript-eslint": "^8.17.0"
59
59
  }
60
60
  }
@@ -60,7 +60,7 @@ export default [
60
60
  {
61
61
  selector: 'property',
62
62
  // Null is a requirement
63
- // eslint-disable-next-line unicorn/no-null
63
+
64
64
  format: null,
65
65
  },
66
66
  {
package/rules/unicorn.mjs CHANGED
@@ -4,16 +4,8 @@ export default [
4
4
  eslintPluginUnicorn.configs['flat/recommended'],
5
5
  {
6
6
  rules: {
7
- // Require camelCase (getIt.ts) and PascalCase (Box.tsx) file names
8
- 'unicorn/filename-case': [
9
- 'error',
10
- {
11
- cases: {
12
- camelCase: true,
13
- pascalCase: true,
14
- },
15
- },
16
- ],
7
+ // Opinionated, doesn't allow Button.tsx
8
+ 'unicorn/filename-case': 'off',
17
9
  // Opinionated, sometimes you need it
18
10
  'unicorn/no-array-reduce': 'off',
19
11
  // This is too opinionated