Advertisement
Guest User

eslint config

a guest
Nov 14th, 2021
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. module.exports = {
  2. root: true,
  3. env: {
  4. node: true
  5. },
  6. 'extends': [
  7. 'plugin:vue/vue3-essential',
  8. 'eslint:recommended'
  9. ],
  10. parserOptions: {
  11. parser: 'babel-eslint'
  12. },
  13. rules: {
  14. 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
  15. 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off'
  16. }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement