n-link/n-link-core/.eslintrc.js

20 lines
478 B
JavaScript
Raw Normal View History

2020-10-02 20:17:55 +00:00
module.exports = {
root: true,
env: {
node: true
},
'extends': [
'plugin:vue/essential',
'eslint:recommended',
'@vue/typescript/recommended'
],
parserOptions: {
ecmaVersion: 2020
},
rules: {
'no-console': process.env.NODE_ENV === 'production' ? ['warn', { allow: ['warn', 'error'] }] : 'off',
2021-04-06 21:01:54 +00:00
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
2020-10-02 20:17:55 +00:00
}
}