@willbooster/eslint-config-next 2.0.2 → 2.0.3

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.
Files changed (2) hide show
  1. package/eslint.config.js +5 -0
  2. package/package.json +1 -1
package/eslint.config.js CHANGED
@@ -202,6 +202,11 @@ const config = [
202
202
  leadingUnderscore: 'allow',
203
203
  trailingUnderscore: 'allow',
204
204
  },
205
+ {
206
+ selector: 'function',
207
+ format: ['camelCase', 'PascalCase'], // Allow PascalCase for React component functions
208
+ leadingUnderscore: 'allow',
209
+ },
205
210
  {
206
211
  selector: 'typeLike',
207
212
  format: ['PascalCase'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willbooster/eslint-config-next",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "description": "A ESLint flat config for Next.js",
5
5
  "license": "Apache-2.0",
6
6
  "author": "WillBooster Inc.",