Skip to content

Commit

Permalink
fix(eslint-plugin-experience): invalid functional
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode committed Nov 6, 2023
1 parent 6c38c0b commit 8d2c3b9
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions projects/eslint-plugin-experience/configs/functional.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,27 @@ module.exports = {
{
files: ['*.ts'],
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint', 'functional'],
extends: ['plugin:functional/all'],
rules: {},
plugins: ['functional'],
rules: {
'functional/functional-parameters': 'off',
'functional/immutable-data': 'off',
'functional/no-classes': 'off',
'functional/no-conditional-statements': 'off',
'functional/no-expression-statements': 'off',
'functional/no-let': 'off',
'functional/no-loop-statements': 'off',
'functional/no-mixed-types': 'off',
'functional/no-promise-reject': 'off',
'functional/no-return-void': 'off',
'functional/no-this-expressions': 'off',
'functional/no-throw-statements': 'off',
'functional/no-try-statements': 'off',
'functional/prefer-immutable-types': 'off',
'functional/prefer-property-signatures': 'off',
'functional/prefer-tacit': 'error',
'functional/readonly-type': 'off',
'functional/type-declaration-immutability': 'off',
},
},
],
};

0 comments on commit 8d2c3b9

Please sign in to comment.