.eslintrc.js 641 B

12345678910111213141516171819202122
  1. module.exports = {
  2. extends: ['@joystream/eslint-config'],
  3. env: {
  4. node: true,
  5. },
  6. rules: {
  7. '@typescript-eslint/naming-convention': 'off',
  8. // TODO: Remove all the rules below, they seem quite useful
  9. '@typescript-eslint/no-explicit-any': 'off',
  10. '@typescript-eslint/no-non-null-assertion': 'off',
  11. '@typescript-eslint/ban-types': ["error",
  12. {
  13. "types": {
  14. // enable usage of `Object` data type in TS; it has it's meaning(!) and it's disabled
  15. // by default only beacuse people tend to misuse it
  16. "Object": false,
  17. },
  18. "extendDefaults": true
  19. }
  20. ]
  21. },
  22. }