@willbooster/eslint-config-next 2.0.1 → 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 +6 -0
  2. package/package.json +1 -1
package/eslint.config.js CHANGED
@@ -44,6 +44,7 @@ const config = [
44
44
  '@types/**',
45
45
  '__generated__/**',
46
46
  'android/**',
47
+ 'bin/**',
47
48
  'build/**',
48
49
  'coverage/**',
49
50
  'dist/**',
@@ -201,6 +202,11 @@ const config = [
201
202
  leadingUnderscore: 'allow',
202
203
  trailingUnderscore: 'allow',
203
204
  },
205
+ {
206
+ selector: 'function',
207
+ format: ['camelCase', 'PascalCase'], // Allow PascalCase for React component functions
208
+ leadingUnderscore: 'allow',
209
+ },
204
210
  {
205
211
  selector: 'typeLike',
206
212
  format: ['PascalCase'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willbooster/eslint-config-next",
3
- "version": "2.0.1",
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.",