.eslintrc.js 383 B

1234567891011121314151617181920
  1. module.exports = {
  2. env: {
  3. browser: true,
  4. es2021: true,
  5. },
  6. extends: ["standard"],
  7. parser: "@typescript-eslint/parser",
  8. parserOptions: {
  9. ecmaVersion: 12,
  10. sourceType: "module",
  11. },
  12. plugins: ["@typescript-eslint"],
  13. rules: {
  14. eqeqeq: [2, "allow-null"],
  15. indent: [2, 4],
  16. quotes: [2, "single"],
  17. semi: [2, "always"],
  18. "no-console": 0,
  19. },
  20. };