-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
2,603 additions
and
140 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,21 @@ | ||
module.exports = { | ||
extends: ['@calblueprint/eslint-config-react'], | ||
extends: [ | ||
'@calblueprint/eslint-config-react', | ||
'plugin:@typescript-eslint/recommended', | ||
], | ||
rules: { | ||
// Add any custom rules here | ||
// Disable the rule that requires React to be in scope -- we don't need this with React 18 | ||
'react/react-in-jsx-scope': 'off', | ||
'react/jsx-uses-react': 'off', | ||
}, | ||
settings: { | ||
'import/resolver': { | ||
typescript: {} | ||
} | ||
}, | ||
plugins: [ | ||
'@typescript-eslint', | ||
'import' | ||
] | ||
}; |
Oops, something went wrong.