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.

24 lines
397 B

4 years ago
  1. module.exports = {
  2. extends: 'airbnb-base',
  3. parserOptions: {
  4. sourceType: 'script',
  5. },
  6. plugins: [
  7. 'import',
  8. 'markdown',
  9. ],
  10. rules: {
  11. 'curly': [
  12. 'error',
  13. 'all',
  14. ],
  15. 'brace-style': [
  16. 'error',
  17. '1tbs',
  18. { 'allowSingleLine': false },
  19. ],
  20. 'no-console': 'error',
  21. 'no-ternary': 'error',
  22. 'newline-before-return': 'error',
  23. },
  24. };