7 Star 14 Fork 5

Gitee 极速下载 / Scriptis

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/WeBankFinTech/Scriptis
克隆/下载
.eslintrc.js 2.03 KB
一键复制 编辑 原始数据 按行查看 历史
雷其榕 提交于 2019-07-25 18:04 . remove local vuescroll
module.exports = {
root: true,
env: {
node: true
},
'extends': [
'plugin:vue/essential',
'@vue/standard'
],
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'key-spacing': ['error'],
'keyword-spacing': ['error'],
'standard/no-callback-literal': 0,
'handle-callback-err': 0,
'no-return-assign': 0,
'eqeqeq': 0,
'comma-dangle': 0,
'semi': 0,
'space-before-function-paren': 0,
'keyword-spacing': 0,
'no-useless-escape': 0,
'no-invalid-this': 0,
'operator-linebreak': 0,
'indent': [
'error',
4,
{
'SwitchCase': 1
}
],
'no-const-assign': 'warn',
'no-this-before-super': 'warn',
'no-undef': 2,
'no-unreachable': 'warn',
'no-unused-vars': 'warn',
'constructor-super': 'warn',
'valid-typeof': 'warn',
'one-var': 'warn',
'max-len': 'off',
'no-trailing-spaces': 'off',
'require-jsdoc': 'warn',
'camelcase': 'warn',
'no-invalid-this': 'warn',
'linebreak-style': 0,
'vue/no-parsing-error': [2, {
'x-invalid-end-tag': false,
'invalid-first-character-of-tag-name': false
}],
'no-tabs': 0,
'vue/html-indent': [2, 2, {
'attribute': 1,
'closeBracket': 0,
'alignAttributesVertically': false
}],
'vue/require-default-prop': 0,
'vue/component-name-in-template-casing': 0,
'vue/html-closing-bracket-spacing': 0,
'vue/html-closing-bracket-newline': 0,
'vue/singleline-html-element-content-newline': 0,
'vue/multiline-html-element-content-newline': 0,
'vue/attributes-order': 0,
'vue/html-self-closing': 0
},
parserOptions: {
parser: 'babel-eslint'
}
}
JavaScript
1
https://gitee.com/mirrors/Scriptis.git
git@gitee.com:mirrors/Scriptis.git
mirrors
Scriptis
Scriptis
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891