.eslintrc.js 277 B

1234567891011121314151617
  1. module.exports = {
  2. extends: 'eslint:recommended',
  3. parserOptions: {
  4. sourceType: 'script',
  5. modules: true,
  6. },
  7. env: {
  8. es6: true,
  9. node: true,
  10. jest: true,
  11. mocha: true,
  12. },
  13. plugins: ['prettier'],
  14. rules: {
  15. 'prettier/prettier': 'error',
  16. },
  17. };