eslint-config-gristow 3.0.0 → 3.0.1

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,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-gristow",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "description": "ESLint 9 flat config for JavaScript and TypeScript projects",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -42,6 +42,11 @@ export default {
42
42
  selector: 'variable',
43
43
  format: ['camelCase', 'UPPER_CASE'],
44
44
  },
45
+ // Allow PascalCase for imports (Svelte/React components, classes, etc.)
46
+ {
47
+ selector: 'import',
48
+ format: ['camelCase', 'PascalCase'],
49
+ },
45
50
  // Allow leading underscores in function params
46
51
  {
47
52
  selector: 'parameter',