.eslintrc.js 802 B

12345678910111213141516171819202122232425
  1. module.exports = {
  2. extends: ['alloy', 'alloy/typescript'],
  3. rules: {},
  4. env: {
  5. es6: true,
  6. node: true,
  7. jest: true
  8. },
  9. overrides: [
  10. {
  11. files: ['*.ts', '*.js'],
  12. rules: {
  13. '@typescript-eslint/no-var-requires': 'off',
  14. '@typescript-eslint/prefer-optional-chain': 'off',
  15. '@typescript-eslint/no-require-imports': 'off',
  16. 'max-params': 'off',
  17. 'no-param-reassign': 'off',
  18. '@typescript-eslint/no-this-alias': 'off',
  19. '@typescript-eslint/no-duplicate-imports': 'off',
  20. '@typescript-eslint/no-loss-of-precision': 'off',
  21. '@typescript-eslint/method-signature-style': 'off'
  22. }
  23. }
  24. ]
  25. }