Skip to content

Commit

Permalink
feat: Add new extend for TS files in lint conf
Browse files Browse the repository at this point in the history
Allows better type checking, without throwing many errors,
mostly warnings.
This forces the developer to write better code
  • Loading branch information
acezard committed Sep 12, 2022
1 parent c4d74ca commit 70c0370
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/eslint-config-cozy-app/react.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ module.exports = {
'eslint:recommended',
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended',
'plugin:@typescript-eslint/recommended-requiring-type-checking'
'plugin:@typescript-eslint/recommended-requiring-type-checking',
'plugin:@typescript-eslint/strict'
],

files: ['**/*.ts', '**/*.tsx'],
Expand Down

0 comments on commit 70c0370

Please sign in to comment.