mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-12-03 03:11:23 +01:00
29 lines
611 B
JavaScript
29 lines
611 B
JavaScript
module.exports = {
|
|
root: true,
|
|
|
|
env: {
|
|
browser: true,
|
|
node: true,
|
|
},
|
|
|
|
parserOptions: {
|
|
parser: '@babel/eslint-parser',
|
|
requireConfigFile: false,
|
|
ecmaVersion: 2020
|
|
},
|
|
extends: [
|
|
'plugin:vue/essential',
|
|
'plugin:nuxt/recommended',
|
|
'plugin:prettier/recommended',
|
|
'eslint:recommended', //
|
|
'@vue/prettier',
|
|
'prettier',
|
|
'@nuxtjs',
|
|
],
|
|
rules: {
|
|
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
|
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
|
},
|
|
|
|
}
|