Skip to content

Commit

Permalink
chore(deps): upgrade eslint to v8 (#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrudd2 authored Jun 30, 2023
1 parent 00cef01 commit 94e489c
Show file tree
Hide file tree
Showing 12 changed files with 1,944 additions and 1,315 deletions.
8 changes: 7 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
module.exports = {
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint'],
extends: [
'eslint:recommended',
'plugin:react/recommended',
'plugin:@typescript-eslint/recommended',
],
parserOptions: {
ecmaVersion: 2018,
sourceType: 'module',
project: './tsconfig.json',
},
root: true,
rules: {
// Place to specify ESLint rules. Can be used to overwrite rules specified from the extended configs
// e.g. "@typescript-eslint/explicit-function-return-type": "off",
Expand All @@ -27,4 +29,8 @@ module.exports = {
version: 'detect',
},
},
ignorePatterns: [
'*.js',
'__tests__',
],
};
Loading

0 comments on commit 94e489c

Please sign in to comment.