2021-12-08 18:25:37 +00:00
|
|
|
module.exports = {
|
|
|
|
parser: '@typescript-eslint/parser',
|
2022-05-22 08:36:05 +00:00
|
|
|
plugins: ['lodash'],
|
2022-05-26 21:41:24 +00:00
|
|
|
extends: [
|
|
|
|
'plugin:@typescript-eslint/recommended',
|
|
|
|
'plugin:react-hooks/recommended',
|
|
|
|
'plugin:@next/next/recommended',
|
|
|
|
],
|
2021-12-08 18:25:37 +00:00
|
|
|
rules: {
|
2022-05-26 21:41:24 +00:00
|
|
|
'@typescript-eslint/no-empty-function': 'off',
|
|
|
|
'@typescript-eslint/no-explicit-any': 'off',
|
2022-06-13 04:42:41 +00:00
|
|
|
'@typescript-eslint/no-unused-vars': [
|
|
|
|
'error',
|
|
|
|
{
|
|
|
|
argsIgnorePattern: '^_',
|
|
|
|
varsIgnorePattern: '^_',
|
|
|
|
caughtErrorsIgnorePattern: '^_',
|
|
|
|
},
|
|
|
|
],
|
2021-12-11 00:18:43 +00:00
|
|
|
'@next/next/no-img-element': 'off',
|
2022-03-10 03:31:38 +00:00
|
|
|
'@next/next/no-typos': 'off',
|
2022-05-22 08:36:05 +00:00
|
|
|
'lodash/import-scope': [2, 'member'],
|
2021-12-09 23:23:21 +00:00
|
|
|
},
|
2022-05-26 21:41:24 +00:00
|
|
|
env: {
|
|
|
|
browser: true,
|
|
|
|
node: true,
|
|
|
|
},
|
2021-12-08 18:25:37 +00:00
|
|
|
}
|