Skip to content

Commit 6872f8d

Browse files
Improves code formatting and naming conventions (#21)
Enhances ESLint configuration to include recommended naming conventions from the 'plugin:naming/recommended' plugin, addressing code readability and maintainability.
1 parent 6c48321 commit 6872f8d

File tree

3 files changed

+16
-1
lines changed

3 files changed

+16
-1
lines changed

eslint.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const compat = new FlatCompat({
1111
})
1212

1313
const eslintConfig = [
14-
...compat.extends('next/core-web-vitals', 'next/typescript'),
14+
...compat.extends('next/core-web-vitals', 'next/typescript', 'plugin:naming/recommended'),
1515
{
1616
ignores: ['node_modules/**', '.next/**', 'out/**', 'build/**', 'next-env.d.ts'],
1717
},

package-lock.json

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
"eslint": "^9",
3333
"eslint-config-next": "15.5.3",
3434
"eslint-config-prettier": "^10.1.8",
35+
"eslint-plugin-naming": "^0.1.10",
3536
"eslint-plugin-prettier": "^5.5.4",
3637
"prettier": "3.6.2",
3738
"prisma": "^6.16.2",

0 commit comments

Comments
 (0)