Skip to content

Commit

Permalink
feat: only React 18
Browse files Browse the repository at this point in the history
  • Loading branch information
viclafouch committed Jul 31, 2023
1 parent 000897f commit e298287
Show file tree
Hide file tree
Showing 7 changed files with 10,391 additions and 7,993 deletions.
3 changes: 2 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
vite.config.ts
dist
coverage
docs/build
docs/build
.eslintrc.js
30 changes: 0 additions & 30 deletions .eslintrc

This file was deleted.

27 changes: 27 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
module.exports = {
extends: [
'@viclafouch/eslint-config-viclafouch',
'@viclafouch/eslint-config-viclafouch/react',
'@viclafouch/eslint-config-viclafouch/hooks',
'@viclafouch/eslint-config-viclafouch/typescript',
'@viclafouch/eslint-config-viclafouch/prettier'
],
parserOptions: {
project: ['./tsconfig.json', './docs/tsconfig.json']
},
rules: {
'jsx-a11y/no-autofocus': 'off',
'import/no-extraneous-dependencies': [
'error',
{
devDependencies: [
'.storybook/**',
'stories/**',
'**/*.stories.tsx',
'**/*.test.ts',
'**/*.test.tsx'
]
}
]
}
}
Loading

0 comments on commit e298287

Please sign in to comment.