Skip to content

Commit

Permalink
fix: fixed linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
kalio007 committed Aug 27, 2024
1 parent debc72d commit a04c7b2
Show file tree
Hide file tree
Showing 2 changed files with 338 additions and 206 deletions.
39 changes: 12 additions & 27 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,40 +2,25 @@ module.exports = {
env: {
browser: true,
es2021: true,
node: true,
},
extends: [
'xo',
'react-app',
'react-app/jest',
'eslint:recommended',
'plugin:react/recommended',
],
overrides: [
{
env: {
node: true,
},
files: [
'.eslintrc.{js,cjs}',
],
parserOptions: {
sourceType: 'script',
},
},
{
extends: [
'xo-typescript',
],
files: [
'*.ts',
'*.tsx',
],
},
],
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
},
plugins: [
'react',
],
plugins: ['react'],
rules: {
// Customize your rules as needed. For now, this keeps the default settings.
},
settings: {
react: {
version: 'detect',
},
},
};
};
Loading

0 comments on commit a04c7b2

Please sign in to comment.