2022-04-24 22:36:47 +02:00
|
|
|
module.exports = {
|
|
|
|
|
extends: [
|
|
|
|
|
'mantine',
|
|
|
|
|
'plugin:@next/next/recommended',
|
|
|
|
|
'plugin:jest/recommended',
|
2022-08-26 16:12:40 +02:00
|
|
|
'eslint:recommended',
|
|
|
|
|
'plugin:@typescript-eslint/eslint-recommended',
|
|
|
|
|
'plugin:@typescript-eslint/recommended',
|
2022-04-24 22:36:47 +02:00
|
|
|
],
|
2022-05-04 07:29:49 +02:00
|
|
|
plugins: ['testing-library', 'jest', 'react-hooks', 'react', 'unused-imports'],
|
2022-04-24 22:36:47 +02:00
|
|
|
overrides: [
|
|
|
|
|
{
|
|
|
|
|
files: ['**/?(*.)+(spec|test).[jt]s?(x)'],
|
|
|
|
|
extends: ['plugin:testing-library/react'],
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
parserOptions: {
|
|
|
|
|
project: './tsconfig.json',
|
|
|
|
|
},
|
|
|
|
|
rules: {
|
2023-01-08 14:22:06 +09:00
|
|
|
'import/no-cycle': 'off',
|
2022-04-24 22:36:47 +02:00
|
|
|
'react/react-in-jsx-scope': 'off',
|
2022-05-18 22:07:28 +02:00
|
|
|
'react/no-children-prop': 'off',
|
2022-08-26 16:12:40 +02:00
|
|
|
'unused-imports/no-unused-imports': 'warn',
|
|
|
|
|
'@typescript-eslint/no-unused-vars': 'off',
|
|
|
|
|
'@typescript-eslint/no-unused-imports': 'off',
|
|
|
|
|
'@typescript-eslint/no-unused-expressions': 'off',
|
|
|
|
|
'@typescript-eslint/no-explicit-any': 'off',
|
|
|
|
|
'@typescript-eslint/no-shadow': 'off',
|
|
|
|
|
'@typescript-eslint/no-use-before-define': 'off',
|
|
|
|
|
'@typescript-eslint/no-non-null-assertion': 'off',
|
2023-01-18 21:24:55 +01:00
|
|
|
'no-continue': 'off',
|
2023-01-08 14:22:06 +09:00
|
|
|
'linebreak-style': 0,
|
2022-04-24 22:36:47 +02:00
|
|
|
},
|
|
|
|
|
};
|