VueTorrent/.eslintrc.js

30 lines
593 B
JavaScript
Raw Normal View History

2019-08-10 18:56:54 +03:00
module.exports = {
env: {
browser: true,
commonjs: true,
es6: true,
},
extends: ['plugin:vue/essential', 'airbnb-base'],
globals: {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly',
},
parserOptions: {
ecmaVersion: 2018,
},
plugins: ['vue'],
rules: {
semi: ['warn', 'never'],
2020-03-22 12:59:38 +03:00
'no-console': 0,
2019-08-10 18:56:54 +03:00
camelcase: 0,
'no-restricted-syntax': 0,
'no-shadow': 0,
'class-methods-use-this': 0,
'prefer-promise-reject-errors': 0,
'no-underscore-dangle': 0,
2020-03-22 12:59:38 +03:00
'no-param-reassign': 0,
'no-unused-vars': 0,
'indent': 4
2019-08-10 18:56:54 +03:00
},
}