Skip to content

Commit

Permalink
Use new DISABLE_ESLINT_PLUGIN, Update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
iamnapo committed Feb 5, 2021
1 parent a6a47f1 commit 5e6ac5c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 11 deletions.
11 changes: 4 additions & 7 deletions template.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@
"@emotion/react": "^11.1.4",
"@emotion/styled": "^11.0.0",
"@fontsource/roboto": "^4.1.0",
"@iamnapo/construct-url": "^1.0.3",
"@iamnapo/construct-url": "^2.0.0",
"@material-ui/core": "^5.0.0-alpha.24",
"@material-ui/icons": "^5.0.0-alpha.24",
"@material-ui/lab": "^5.0.0-alpha.24",
"@sentry/browser": "^6.0.3",
"@sentry/browser": "^6.1.0",
"clsx": "^1.1.1",
"customize-cra": "^1.0.0",
"date-fns": "^2.16.1",
Expand All @@ -72,11 +72,8 @@
"notistack": "^1.0.3",
"prop-types": "^15.7.2",
"query-string": "^6.13.8",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-ga": "^3.3.0",
"react-router-dom": "^5.2.0",
"react-scripts": "^4.0.1",
"swr": "^0.4.1",
"web-vitals": "^1.1.0",
"workbox-background-sync": "^6.1.0",
Expand All @@ -98,7 +95,7 @@
"@cypress/instrument-cra": "^1.4.0",
"@iamnapo/prettier-config": "^1.0.2",
"babel-plugin-import": "^1.13.3",
"cypress": "^6.3.0",
"cypress": "^6.4.0",
"dotenv": "^8.2.0",
"eslint": "^7.19.0",
"eslint-config-iamnapo": "^12.0.0",
Expand All @@ -110,7 +107,7 @@
"eslint-plugin-unicorn": "^27.0.0",
"husky": "^4.3.8",
"react-app-rewired": "^2.1.8",
"sass": "^1.32.5",
"sass": "^1.32.6",
"source-map-explorer": "^2.5.2",
"start-server-and-test": "^1.12.0"
},
Expand Down
1 change: 1 addition & 0 deletions template/.env
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ REACT_APP_SENTRY_DSN=
REACT_APP_SENTRY_ENVIRONMENT="local"
REACT_APP_SERVER_URL="http://localhost:4000"

DISABLE_ESLINT_PLUGIN=true
SKIP_PREFLIGHT_CHECK=true
BROWSER="none"
1 change: 1 addition & 0 deletions template/.env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ REACT_APP_SENTRY_DSN=
REACT_APP_SENTRY_ENVIRONMENT=
REACT_APP_SERVER_URL=

DISABLE_ESLINT_PLUGIN=true
SKIP_PREFLIGHT_CHECK=true
BROWSER="none"
4 changes: 0 additions & 4 deletions template/config-overrides.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,4 @@ module.exports = override(
fixBabelImports("@material-ui/core", { libraryDirectory: ".", camel2DashComponentName: false }),
fixBabelImports("@material-ui/icons", { libraryDirectory: ".", camel2DashComponentName: false }),
fixBabelImports("@material-ui/lab", { libraryDirectory: ".", camel2DashComponentName: false }),
(config) => {
config.plugins = config.plugins.filter((e) => !e.options?.eslintPath);
return config;
},
);

0 comments on commit 5e6ac5c

Please sign in to comment.