Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. module.exports = {
  2. root: true,
  3. env: {
  4. node: true,
  5. },
  6. extends: [
  7. 'plugin:vue/essential',
  8. '@vue/airbnb',
  9. ],
  10. rules: {
  11. 'brace-style': ['error', 'stroustrup', { allowSingleLine: true }],
  12. 'max-len': ['error', 200, 2, {
  13. ignoreUrls: true,
  14. ignoreComments: false,
  15. ignoreRegExpLiterals: true,
  16. ignoreStrings: true,
  17. ignoreTemplateLiterals: true,
  18. }],
  19. 'no-param-reassign': ['error', { props: false }],
  20. 'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
  21. 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
  22. },
  23. parserOptions: {
  24. parser: 'babel-eslint',
  25. },
  26. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement