.eslintrc.js 350 B

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