Files
kspguti-schedule/.eslintrc.js
2023-10-01 18:53:04 +04:00

47 lines
800 B
JavaScript

module.exports = {
'env': {
'browser': true,
'es2021': true,
'node': true
},
'extends': [
'next/core-web-vitals',
'eslint:recommended',
'plugin:react/recommended',
'plugin:@typescript-eslint/recommended'
],
'parser': '@typescript-eslint/parser',
'parserOptions': {
'ecmaFeatures': {
'jsx': true
},
'ecmaVersion': 'latest',
'sourceType': 'module'
},
'plugins': [
'react',
'@typescript-eslint'
],
'rules': {
'indent': [
'warn',
2,
{ SwitchCase: 1 }
],
'linebreak-style': [
'error',
'unix'
],
'quotes': [
'warn',
'single'
],
'semi': [
'error',
'never'
],
'react/react-in-jsx-scope': 'off',
'no-async-promise-executor': 'off'
}
}