Skip to content

Commit

Permalink
💥 Upgrade react-router-dom to v6
Browse files Browse the repository at this point in the history
  • Loading branch information
ofnullable committed Nov 26, 2021
1 parent 8832bf4 commit 9823db9
Show file tree
Hide file tree
Showing 7 changed files with 4,672 additions and 6,362 deletions.
11 changes: 7 additions & 4 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,27 @@ module.exports = {
node: true,
browser: true,
},
parser: 'babel-eslint',
parser: '@babel/eslint-parser',
globals: {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly',
},
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
ecmaFeatures: {
jsx: true,
},
ecmaVersion: 2018,
sourceType: 'module',
babelOptions: {
filename: 'babel.config.js',
},
},
settings: {
react: {
version: 'detect',
},
},
plugins: ['react', 'react-hooks', 'prettier'],
plugins: ['@babel', 'react', 'react-hooks', 'prettier'],
extends: [
'eslint:recommended',
'plugin:prettier/recommended',
Expand Down
2 changes: 1 addition & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
presets: ['react-app'],
presets: ['@babel/preset-react'],
plugins: [
[
'@babel/plugin-transform-react-jsx',
Expand Down
Loading

0 comments on commit 9823db9

Please sign in to comment.