Files
004_comission/tsc1877/task1/project/admin/.eslintrc.js.bak
louiscklaw 5c584709c4 update,
2025-01-31 20:14:02 +08:00

31 lines
662 B
JavaScript

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: {
'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',
}
}