.eslintrc.js 473 B

12345678910111213141516171819
  1. module.exports = {
  2. extends: ['@joystream/eslint-config'],
  3. env: {
  4. node: true,
  5. },
  6. rules: {
  7. '@typescript-eslint/naming-convention': 'off',
  8. '@typescript-eslint/ban-types': ["error",
  9. {
  10. "types": {
  11. // enable usage of `Object` data type in TS; it has it's meaning(!) and it's disabled
  12. // by default only beacuse people tend to misuse it
  13. "Object": false,
  14. },
  15. "extendDefaults": true
  16. }
  17. ]
  18. },
  19. }