update,
This commit is contained in:
31
tsc1877/task1/project/admin/.eslintrc.js
Normal file
31
tsc1877/task1/project/admin/.eslintrc.js
Normal file
@@ -0,0 +1,31 @@
|
||||
module.exports = {
|
||||
env: {
|
||||
node: true,
|
||||
es6: true,
|
||||
browser: true,
|
||||
},
|
||||
parser: 'babel-eslint',
|
||||
extends: ['next/core-web-vitals', 'prettier'],
|
||||
parserOptions: {
|
||||
ecmaVersion: 11,
|
||||
sourceType: 'module',
|
||||
project: './jsconfig.json',
|
||||
ecmaFeatures: {
|
||||
jsx: true,
|
||||
modules: true,
|
||||
experimentalObjectRestSpread: true,
|
||||
},
|
||||
},
|
||||
rules: {
|
||||
'padding-line-between-statements': 'off',
|
||||
'lines-around-comment': 'off',
|
||||
'import/newline-after-import': 'off',
|
||||
'react-hooks/rules-of-hooks': 'off',
|
||||
'react/react-in-jsx-scope': 'off',
|
||||
'react/jsx-filename-extension': [1, { extensions: ['.js', '.jsx'] }],
|
||||
'react/display-name': 'off',
|
||||
'@next/next/no-img-element': 'off',
|
||||
'react/no-unescaped-entities': 'off',
|
||||
'import/no-anonymous-default-export': 'off',
|
||||
},
|
||||
};
|
Reference in New Issue
Block a user