.eslintrc.js 365 B

123456789101112131415
  1. module.exports = {
  2. env: {
  3. mocha: true,
  4. },
  5. parserOptions: {
  6. project: './tsconfig.json',
  7. },
  8. extends: ['@joystream/eslint-config'],
  9. rules: {
  10. 'no-unused-vars': 'off', // Required by the typescript rule below
  11. '@typescript-eslint/no-unused-vars': ['error'],
  12. '@typescript-eslint/no-floating-promises': 'error',
  13. 'no-void': 'off',
  14. },
  15. }