You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
627 B

2 years ago
2 years ago
4 years ago
2 years ago
2 years ago
2 years ago
  1. module.exports = {
  2. root: true,
  3. env: {
  4. browser: true,
  5. node: true
  6. },
  7. extends: ['@nuxtjs/eslint-config-typescript', 'plugin:nuxt/recommended', 'prettier'],
  8. rules: {
  9. 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
  10. 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
  11. 'no-useless-constructor': 'off',
  12. camelcase: 'off',
  13. 'max-len': [
  14. 'error',
  15. 100,
  16. 2,
  17. {
  18. ignoreUrls: true,
  19. ignoreComments: false,
  20. ignoreRegExpLiterals: true,
  21. ignoreStrings: true,
  22. ignoreTemplateLiterals: true
  23. }
  24. ]
  25. }
  26. }