n-link/web/.eslintrc.js

27 lines
568 B
JavaScript
Raw Normal View History

2020-10-06 15:01:36 +00:00
module.exports = {
root: true,
env: {
es2020: true,
browser: true,
node: true,
},
extends: [
'@nuxtjs/eslint-config-typescript',
'prettier',
'prettier/vue',
'plugin:prettier/recommended',
'plugin:nuxt/recommended',
],
plugins: ['prettier'],
// add your custom rules here
rules: {
'import/no-webpack-loader-syntax': 0,
2021-04-06 21:01:54 +00:00
'require-await': 0,
'unicorn/number-literal-case': 0,
'no-console':
process.env.NODE_ENV === 'production'
? ['warn', { allow: ['warn', 'error'] }]
: 'off',
2020-10-06 15:01:36 +00:00
},
};