mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-11-30 11:08:00 +08:00
52 lines
1.1 KiB
Plaintext
52 lines
1.1 KiB
Plaintext
{
|
|
"root": true,
|
|
"env": {
|
|
"browser": true,
|
|
"node": true,
|
|
"jasmine": true,
|
|
"jest": true,
|
|
"es6": true
|
|
},
|
|
"parserOptions": {
|
|
"parser": "babel-eslint"
|
|
},
|
|
"extends": ["plugin:vue/recommended", "prettier"],
|
|
"plugins": ["markdown"],
|
|
"overrides": [
|
|
{
|
|
"files": ["**/demo/**"],
|
|
"rules": {
|
|
"no-console": "off"
|
|
}
|
|
}
|
|
],
|
|
"rules": {
|
|
"comma-dangle": [2, "always-multiline"],
|
|
"no-var": "error",
|
|
"no-console": [2, { "allow": ["warn", "error"] }],
|
|
"object-shorthand": 2,
|
|
"no-unused-vars": [2, { "ignoreRestSiblings": true, "argsIgnorePattern": "^h$" }],
|
|
"no-undef": 2,
|
|
"camelcase": "off",
|
|
"no-extra-boolean-cast": "off",
|
|
"semi": ["error", "always"],
|
|
"vue/require-prop-types": "off",
|
|
"vue/require-default-prop": "off",
|
|
"vue/no-reserved-keys": "off",
|
|
"vue/prop-name-casing": "off",
|
|
"vue/max-attributes-per-line": [
|
|
2,
|
|
{
|
|
"singleline": 20,
|
|
"multiline": {
|
|
"max": 1,
|
|
"allowFirstLine": false
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"globals": {
|
|
"h": true
|
|
}
|
|
}
|