feat: update
This commit is contained in:
@@ -37,7 +37,7 @@ module.exports = {
|
||||
'react/jsx-use-react': 0, // React V17开始JSX已经不再需要引入React
|
||||
'react/react-in-jsx-scope': 0, // 同上
|
||||
'import/first': 0, // 消除绝对路径必须要在相对路径前引入,
|
||||
'no-mixed-spaces-and-tabs': 2, // 禁止空格和 tab 的混合缩进
|
||||
// 'no-mixed-spaces-and-tabs': 2, // 禁止空格和 tab 的混合缩进
|
||||
'no-debugger': 2, // 禁止有debugger
|
||||
'space-infix-ops': 2, // 要求操作符周围有空格
|
||||
'space-before-blocks': 2, // 要求语句块之前有空格
|
||||
|
Reference in New Issue
Block a user