26 lines
696 B
JavaScript
26 lines
696 B
JavaScript
module.exports = {
|
|
plugins: ['unused-imports'],
|
|
extends: [
|
|
'eslint:recommended',
|
|
'plugin:react/recommended',
|
|
'plugin:react/jsx-runtime',
|
|
'plugin:react-hooks/recommended',
|
|
'@electron-toolkit/eslint-config-ts/recommended',
|
|
'@electron-toolkit/eslint-config-prettier'
|
|
],
|
|
rules: {
|
|
'@typescript-eslint/explicit-function-return-type': 'off',
|
|
'@typescript-eslint/no-explicit-any': 'off',
|
|
'unused-imports/no-unused-imports': 'error',
|
|
'@typescript-eslint/no-non-null-asserted-optional-chain': 'off',
|
|
'react/prop-types': 'off',
|
|
'sort-imports': [
|
|
'error',
|
|
{
|
|
ignoreCase: true,
|
|
ignoreDeclarationSort: true
|
|
}
|
|
]
|
|
}
|
|
}
|