Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
having the webpack dev server only utilize warnings on eslint issues.…
… so the terminal will have a warning printed out, but the app wont stop working in the browser
  • Loading branch information
joeycozza committed Mar 6, 2019
commit 2f8aad10f2261cdb4d2df5dcb035914c6d049c51
6 changes: 5 additions & 1 deletion packages/react-scripts/config/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,11 @@ module.exports = function(webpackEnv) {
eslintPath: require.resolve('eslint'),
// @remove-on-eject-begin
baseConfig: {
extends: [require.resolve('@fs/eslint-config-frontier-react')],
extends: [
require
.resolve('@fs/eslint-config-frontier-react')
.replace('index.js', 'lenient.js'),
],
settings: { react: { version: '999.999.999' } },
},
ignore: false,
Expand Down
94 changes: 50 additions & 44 deletions packages/react-scripts/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/react-scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"types": "./lib/react-app.d.ts",
"dependencies": {
"@babel/core": "7.1.6",
"@fs/eslint-config-frontier-react": "^1.0.1",
"@fs/eslint-config-frontier-react": "^1.1.0",
"@svgr/webpack": "2.4.1",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "10.0.0",
Expand Down