synclounge/.eslintrc.js

16 lines
414 B
JavaScript
Raw Normal View History

2018-07-20 04:31:44 +00:00
module.exports = {
root: true,
env: {
2020-05-27 18:41:08 +00:00
node: true,
},
2020-05-27 18:41:08 +00:00
extends: ['plugin:vue/essential', '@vue/airbnb'],
parserOptions: {
2020-05-27 18:41:08 +00:00
parser: 'babel-eslint',
2018-07-20 04:31:44 +00:00
},
rules: {
2020-05-27 18:41:08 +00:00
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'import/no-extraneous-dependencies': ['error', { devDependencies: true }],
},
};