1 Star 0 Fork 30

墨菲 / NaiveUI

forked from Gitee 极速下载 / NaiveUI 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.eslintrc.js 1.57 KB
一键复制 编辑 原始数据 按行查看 历史
07akioni 提交于 2021-02-17 15:04 . test(button)
module.exports = {
extends: ['plugin:markdown/recommended'],
overrides: [
{
files: ['*.vue', '*.js'],
extends: [
'plugin:vue/essential',
'@vue/standard'
// '@vue/typescript/recommended'
],
rules: {
'vue/max-attributes-per-line': [
2,
{
singleline: 20,
multiline: {
max: 1,
allowFirstLine: false
}
}
],
'vue/no-multiple-template-root': 0,
'vue/no-lone-template': 0,
'vue/no-v-model-argument': 0
}
},
{
files: ['*.ts', '*.tsx'],
extends: ['standard-with-typescript'],
parserOptions: {
project: './tsconfig.json',
ecmaFeatures: {
jsx: true
}
},
rules: {
'@typescript-eslint/strict-boolean-expressions': 0,
'@typescript-eslint/prefer-nullish-coalescing': 0,
'@typescript-eslint/naming-convention': 0,
'no-void': 0
}
},
{
files: ['light.ts'],
rules: {
'@typescript-eslint/explicit-module-boundary-types': 0,
'@typescript-eslint/explicit-function-return-type': 0
}
},
{
files: '**/*.md/*.js',
rules: {
'no-undef': 0
}
},
{
files: '*.spec.ts',
globals: {
describe: 'readonly',
it: 'readonly',
expect: 'readonly'
},
rules: {
'@typescript-eslint/no-floating-promises': 0
}
},
{
files: '*',
globals: {
__DEV__: 'readonly'
}
}
]
}
TypeScript
1
https://gitee.com/lamoure/NaiveUI.git
git@gitee.com:lamoure/NaiveUI.git
lamoure
NaiveUI
NaiveUI
dependabot/npm_and_yarn/eslint-config-standard-with-typescript-20.0.0

搜索帮助

53164aa7 5694891 3bd8fe86 5694891