PracowniaProgramowania/frontend/app/.eslintrc.js

18 lines
353 B
JavaScript
Raw Normal View History

2018-11-07 02:03:15 +01:00
module.exports = {
root: true,
env: {
2019-01-05 13:02:41 +01:00
node: true
2018-11-07 02:03:15 +01:00
},
2019-01-05 13:02:41 +01:00
'extends': [
'plugin:vue/essential',
'eslint:recommended'
2018-11-07 02:03:15 +01:00
],
rules: {
2019-01-05 13:02:41 +01:00
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
2018-11-07 02:03:15 +01:00
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
2019-01-05 13:02:41 +01:00
},
parserOptions: {
parser: 'babel-eslint'
2018-11-07 02:03:15 +01:00
}
}