.eslintrc.js 651 B

1234567891011121314151617181920212223
  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': [
  12. 'error',
  13. {
  14. 'types': {
  15. // enable usage of `Object` data type in TS; it has it's meaning(!) and it's disabled
  16. // by default only beacuse people tend to misuse it
  17. 'Object': false,
  18. },
  19. 'extendDefaults': true,
  20. },
  21. ],
  22. },
  23. }