1 Star 0 Fork 77

Sephiroth/rsuite

forked from rsuite/rsuite 
Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
.eslintrc.js 911 Bytes
Copy Edit Raw Blame History
const OFF = 0;
const WARNING = 1;
const ERROR = 2;
module.exports = {
env: {
browser: true,
es6: true
},
parser: '@typescript-eslint/parser',
extends: [
'plugin:@typescript-eslint/recommended',
'plugin:react/recommended',
'prettier/@typescript-eslint',
'plugin:prettier/recommended'
],
parserOptions: {},
plugins: ['@typescript-eslint', 'react'],
rules: {
quotes: [ERROR, 'single'],
semi: [ERROR, 'always'],
'space-infix-ops': ERROR,
'prefer-spread': ERROR,
'no-multi-spaces': ERROR,
'class-methods-use-this': WARNING,
'arrow-parens': [ERROR, 'as-needed'],
'@typescript-eslint/no-unused-vars': ERROR,
'@typescript-eslint/no-explicit-any': OFF,
'@typescript-eslint/explicit-function-return-type': OFF,
'@typescript-eslint/explicit-member-accessibility': OFF
},
settings: {
react: {
version: 'detect'
}
}
};
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/Sephiroth-Application/rsuite.git
git@gitee.com:Sephiroth-Application/rsuite.git
Sephiroth-Application
rsuite
rsuite
master

Search

0d507c66 1850385 C8b1a773 1850385