Skip to content

Commit

Permalink
chore(#14): added imports and stylistic indent rules
Browse files Browse the repository at this point in the history
  • Loading branch information
jagadhis committed Oct 4, 2024
1 parent f5f664c commit 1e9c7ff
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .eslintrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ extends:
- "plugin:react/recommended"
- "plugin:react-hooks/recommended"
- "plugin:jsx-a11y/recommended"
- "plugin:@typescript-eslint/recommended"
- "next/core-web-vitals"
plugins:
- "react"
Expand Down Expand Up @@ -35,6 +36,21 @@ rules:
no-unused-vars: off
unused-imports/no-unused-vars: off
unused-imports/no-unused-imports: warn
'@stylistic/indent':
- 'error'
- 2
'@stylistic/quotes':
- 'error'
- 'single'
'@stylistic/object-curly-spacing':
- 'error'
- 'always'
'@stylistic/jsx-tag-spacing':
- 'error'
- beforeSelfClosing: always
closingSlash: never
afterOpening: never
beforeClosing: never
'@typescript-eslint/no-unused-vars':
- warn
- args: after-used
Expand Down
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,13 @@
"@typescript-eslint/parser": "7.2.0",
"all-contributors-cli": "^6.26.1",
"autoprefixer": "10.4.19",
"eslint": "^8",
"eslint": "^8.57.1",
"eslint-config-next": "14.2.4",
"eslint-config-stylistic": "^0.0.0-0",
"eslint-plugin-jsx-a11y": "^6.10.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-react": "^7.37.1",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-unused-imports": "^4.1.4",
"gacp": "^3.0.3",
"lefthook": "^1.7.18",
Expand Down

0 comments on commit 1e9c7ff

Please sign in to comment.