Skip to content

Commit

Permalink
Refactor/eslint rules (#95)
Browse files Browse the repository at this point in the history
Co-authored-by: Ryczko <konradryczko1@gmail.com>
  • Loading branch information
xdk78 and Ryczko authored Mar 21, 2023
1 parent 1d7c230 commit 870afec
Show file tree
Hide file tree
Showing 55 changed files with 3,779 additions and 3,440 deletions.
7 changes: 5 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ module.exports = {
'plugin:react/recommended',
'plugin:react/jsx-runtime',
'plugin:@next/next/recommended',
'next/core-web-vitals',
'plugin:jest/recommended',
'plugin:testing-library/react',
'plugin:jsx-a11y/recommended',
'plugin:tailwindcss/recommended',
'plugin:@typescript-eslint/recommended',
'prettier',
Expand All @@ -31,6 +34,8 @@ module.exports = {
plugins: [
'react',
'react-hooks',
'jsx-a11y',
'jest',
'testing-library',
'tailwindcss',
'@typescript-eslint',
Expand All @@ -40,8 +45,6 @@ module.exports = {
indent: ['error', 2],
quotes: ['error', 'single'],
semi: ['error', 'always'],
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-non-null-assertion': 'off',
'tailwindcss/no-custom-classname': 'off',
'tailwindcss/migration-from-tailwind-2': 'off',
},
Expand Down
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
}
},
"typescript.tsdk": "node_modules\\typescript\\lib"
}
Loading

0 comments on commit 870afec

Please sign in to comment.