This repository has been archived on 2023-05-29. You can view files and clone it, but cannot push or open issues or pull requests.
fp-ts-training/.eslintrc.js
Hugo Saracino 63f1f160ab 🎉 Initial commit
2020-07-03 18:01:45 +02:00

39 lines
875 B
JavaScript

module.exports = {
env: {
node: true,
},
parserOptions: {
project: './tsconfig.json',
tsconfigRootDir: __dirname,
},
extends: [
'plugin:fp/recommended',
],
plugins: ['fp', 'inato'],
rules: {
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars-experimental': ['error'],
'no-useless-constructor': 'off',
'@typescript-eslint/no-useless-constructor': ['error'],
'@typescript-eslint/camelcase': [
'error',
{
properties: 'never',
},
],
'react-hooks/rules-of-hooks': 'off',
'import/extensions': [
'error',
{
ts: 'never',
},
],
'fp/no-throw':'off',
'fp/no-class': 'off',
'fp/no-mutation': 'off',
'fp/no-nil': 'off',
'fp/no-this': 'off',
'fp/no-unused-expression': 'off',
'inato/no-factories-outside-of-tests': 'error',
},
};