1234567891011121314151617181920212223242526272829 |
- module.exports = {
- env: {
- browser: true,
- node: true,
- es6: true,
- jest: true,
- },
- extends: ['plugin:react-hooks/recommended', '@joystream/eslint-config'],
- rules: {
- camelcase: ['off'],
- 'react/prop-types': 'off',
- '@typescript-eslint/explicit-module-boundary-types': 'off',
- '@typescript-eslint/no-empty-function': 'warn',
- '@typescript-eslint/ban-ts-comment': [
- 'error',
- {
- 'ts-ignore': 'allow-with-description',
- },
- ],
- '@typescript-eslint/ban-types': [
- 'error',
- {
- types: {
- object: false,
- },
- },
- ],
- },
- }
|