w-distributions
Version:
merge to `w-statistic`
54 lines • 1.91 kB
JavaScript
module.exports = {
"env": {
"browser": true,
"es6": true,
"mocha": true
},
"extends": ["plugin:vue/base", "plugin:vue/essential", "standard"],
"plugins": [
"vue"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parser": "vue-eslint-parser",
"parserOptions": {
"parser": "babel-eslint",
"ecmaVersion": 2019,
"sourceType": "module",
},
rules: {
'generator-star-spacing': 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'indent': ['error', 4],
'no-console': 'off',
'comma-dangle': ['error', {
'arrays': 'ignore',
'objects': 'ignore',
'imports': 'never',
'exports': 'never',
'functions': 'ignore'
}],
'no-multiple-empty-lines': ['error', { 'max': 2, 'maxEOF': 2 }],
//'space-before-function-paren': ['error', { 'anonymous': 'always', 'named': 'never' }],
'space-before-function-paren': 'off',
'spaced-comment': 'off',
'brace-style': ['error', 'stroustrup'],
'padded-blocks': 'off',
'no-constant-condition': 'off',
'camelcase': 'off',
'no-new': 'off',
'prefer-const': 'off',
'quote-props': ['error', 'consistent'],
'dot-notation': 'off',
'standard/no-callback-literal': 'off',
'quotes': ['error', 'single', { 'allowTemplateLiterals': true }],
'prefer-promise-reject-errors': 'off',
'no-unused-vars': ['error', { 'args': 'none', 'ignoreRestSiblings': true, 'argsIgnorePattern': '^_' }],
'node/no-callback-literal': 'off',
'prefer-regex-literals': 'off',
'array-callback-return': 'off',
'no-unreachable-loop': 'off',
}
};