2024-03-29 10:30:11 +03:00
|
|
|
module.exports = {
|
2024-03-29 13:26:04 +03:00
|
|
|
env: {
|
|
|
|
browser: true,
|
|
|
|
es2021: true,
|
|
|
|
},
|
|
|
|
extends: 'plugin:react/recommended',
|
|
|
|
overrides: [
|
|
|
|
{
|
|
|
|
env: {
|
|
|
|
node: true,
|
|
|
|
},
|
|
|
|
files: ['.eslintrc.{js,cjs}'],
|
|
|
|
parserOptions: {
|
|
|
|
sourceType: 'script',
|
|
|
|
},
|
2024-03-29 10:30:11 +03:00
|
|
|
},
|
2024-03-29 13:26:04 +03:00
|
|
|
],
|
|
|
|
parser: '@typescript-eslint/parser',
|
|
|
|
parserOptions: {
|
|
|
|
ecmaVersion: 'latest',
|
|
|
|
sourceType: 'module',
|
|
|
|
},
|
|
|
|
plugins: ['@typescript-eslint', 'react'],
|
|
|
|
rules: {},
|
2024-03-29 10:30:11 +03:00
|
|
|
}
|