@msobiecki/eslint-config 9.9.0 → 9.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.
- package/CHANGELOG.md +7 -0
- package/eslint.config.js +18 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [9.10.0](https://github.com/msobiecki/eslint-config/compare/v9.9.0...v9.10.0) (2025-10-20)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* update eslint 9 ([9287c29](https://github.com/msobiecki/eslint-config/commit/9287c296c228ba6b4cb7d06f5a38cac221d8f5a0))
|
|
7
|
+
|
|
1
8
|
# [9.9.0](https://github.com/msobiecki/eslint-config/compare/v9.8.0...v9.9.0) (2025-10-20)
|
|
2
9
|
|
|
3
10
|
|
package/eslint.config.js
CHANGED
|
@@ -82,6 +82,21 @@ export const bestPracticePreset = [
|
|
|
82
82
|
"unicorn/no-array-for-each": "off",
|
|
83
83
|
},
|
|
84
84
|
},
|
|
85
|
+
{
|
|
86
|
+
name: "Filename Cases for JSX/TSX",
|
|
87
|
+
files: ["**/*.{jsx,tsx}"],
|
|
88
|
+
rules: {
|
|
89
|
+
"unicorn/filename-case": [
|
|
90
|
+
"error",
|
|
91
|
+
{
|
|
92
|
+
cases: {
|
|
93
|
+
camelCase: true,
|
|
94
|
+
pascalCase: true,
|
|
95
|
+
},
|
|
96
|
+
},
|
|
97
|
+
],
|
|
98
|
+
},
|
|
99
|
+
},
|
|
85
100
|
];
|
|
86
101
|
|
|
87
102
|
/**
|
|
@@ -98,6 +113,9 @@ export const reactPreset = [
|
|
|
98
113
|
},
|
|
99
114
|
languageOptions: {
|
|
100
115
|
parserOptions: { ecmaFeatures: { jsx: true } },
|
|
116
|
+
globals: {
|
|
117
|
+
...globals.browser,
|
|
118
|
+
},
|
|
101
119
|
},
|
|
102
120
|
rules: {
|
|
103
121
|
...reactBasePlugin.configs?.flat?.recommended?.rules,
|