mirror of
https://github.com/HangarMC/Hangar.git
synced 2024-12-09 06:32:43 +08:00
10f70b781f
Signed-off-by: MiniDigger <admin@minidigger.me>
18 lines
605 B
JavaScript
18 lines
605 B
JavaScript
module.exports = {
|
|
root: true,
|
|
env: {
|
|
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: {
|
|
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
|
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
|
'no-unused-vars': 'warn',
|
|
'@typescript-eslint/no-unused-vars': 'warn',
|
|
'vue/no-unused-components': 'warn',
|
|
},
|
|
};
|