mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-08 22:45:49 +01:00
36 lines
1.1 KiB
JavaScript
36 lines
1.1 KiB
JavaScript
module.exports = {
|
|
extends: [
|
|
'mantine',
|
|
'plugin:@next/next/recommended',
|
|
'plugin:jest/recommended',
|
|
'eslint:recommended',
|
|
'plugin:@typescript-eslint/eslint-recommended',
|
|
'plugin:@typescript-eslint/recommended',
|
|
],
|
|
plugins: ['testing-library', 'jest', 'react-hooks', 'react', 'unused-imports'],
|
|
overrides: [
|
|
{
|
|
files: ['**/?(*.)+(spec|test).[jt]s?(x)'],
|
|
extends: ['plugin:testing-library/react'],
|
|
},
|
|
],
|
|
parserOptions: {
|
|
project: './tsconfig.json',
|
|
},
|
|
rules: {
|
|
'import/no-cycle': 'off',
|
|
'react/react-in-jsx-scope': 'off',
|
|
'react/no-children-prop': 'off',
|
|
'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',
|
|
'no-continue': 'off',
|
|
'linebreak-style': 0,
|
|
},
|
|
};
|