joinpeertube/.eslintrc.js
2019-10-28 13:10:17 +01:00

29 lines
488 B
JavaScript

module.exports = {
root: true,
env: {
node: true
},
'extends': [
'plugin:vue/essential',
'@vue/standard'
],
rules: {
'no-console': 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'vue/script-indent': ['error', 2, {
baseIndent: 1,
switchCase: 1
}]
},
overrides: [
{
files: ['*.vue'],
rules: {
indent: 'off'
}
}
],
parserOptions: {
parser: 'babel-eslint'
}
}