.eslintrc.js 373 B

123456789101112131415
  1. const path = require('path');
  2. module.exports = {
  3. extends: '../.eslintrc.js',
  4. parser: "@typescript-eslint/parser",
  5. plugins: ["@typescript-eslint", "notice"],
  6. parserOptions: {
  7. ecmaVersion: 9,
  8. sourceType: "module",
  9. project: path.join(__dirname, '..', '..', 'tsconfig.json'),
  10. },
  11. rules: {
  12. '@typescript-eslint/no-floating-promises': 'error',
  13. },
  14. };