1 Star 0 Fork 0

杭杭 / ant-design-colors

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.eslintrc.js 951 Bytes
一键复制 编辑 原始数据 按行查看 历史
前端工程师 提交于 2019-04-08 20:33 . :sparkles:Release 3.0.0
module.exports = {
parser: '@typescript-eslint/parser', // Specifies the ESLint parser
extends: [
'plugin:@typescript-eslint/recommended', // Uses the recommended rules from @typescript-eslint/eslint-plugin
'plugin:prettier/recommended', // Enables eslint-plugin-prettier and displays prettier errors as ESLint errors. Make sure this is always the last configuration in the extends array.
],
env: {
browser: true,
node: true,
},
parserOptions: {
ecmaVersion: 2018, // Allows for the parsing of modern ECMAScript features
sourceType: 'module', // Allows for the use of imports
ecmaFeatures: {
jsx: true, // Allows for the parsing of JSX
},
},
rules: {
// Place to specify ESLint rules. Can be used to overwrite rules specified from the extended configs
// e.g. "@typescript-eslint/explicit-function-return-type": "off",
'@typescript-eslint/indent': ['error', 2],
},
};
1
https://gitee.com/hhhangcc/ant-design-colors.git
git@gitee.com:hhhangcc/ant-design-colors.git
hhhangcc
ant-design-colors
ant-design-colors
master

搜索帮助