Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions web/.eslintignore

This file was deleted.

29 changes: 0 additions & 29 deletions web/.eslintrc.js

This file was deleted.

30 changes: 30 additions & 0 deletions web/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
import tsPlugin from '@typescript-eslint/eslint-plugin';
import tsParser from '@typescript-eslint/parser';
import reactPlugin from "eslint-plugin-react";

export default [
reactPlugin.configs.flat.recommended,
{
languageOptions: {
parser: tsParser,
},
plugins: {
"@typescript-eslint": tsPlugin,
},
files: ['**/*.{ts,tsx}'],
rules: {
'max-len': ['warn', { code: 170 }],
'react-hooks/rules-of-hooks': 'error',
'react-hooks/exhaustive-deps': 'warn',
'react/prop-types': 'off',
'@typescript-eslint/no-empty-interface': 'off',
'@typescript-eslint/no-non-null-assertion': 'off',
},
settings: {
react: {
pragma: 'React',
version: 'detect'
}
}
},
];
Loading
Loading