Permalink
Browse files

Use airbnb+react-app .eslintrc

  • Loading branch information...
callummr committed May 22, 2017
1 parent d649b8a commit 8f87c8a3f0f52a346a849f10c5fd18be8384f73f
@@ -134,13 +134,7 @@ module.exports = {
{
options: {
formatter: eslintFormatter,
// @remove-on-eject-begin
baseConfig: {
extends: [require.resolve('eslint-config-react-app')],
},
ignore: false,
useEslintrc: false,
// @remove-on-eject-end
useEslintrc: true,
},
loader: require.resolve('eslint-loader'),
},
@@ -132,15 +132,7 @@ module.exports = {
{
options: {
formatter: eslintFormatter,
// @remove-on-eject-begin
// TODO: consider separate config for production,
// e.g. to enable no-console and no-debugger only in production.
baseConfig: {
extends: [require.resolve('eslint-config-react-app')],
},
ignore: false,
useEslintrc: false,
// @remove-on-eject-end
useEslintrc: true,
},
loader: require.resolve('eslint-loader'),
},
@@ -0,0 +1,6 @@
{
"extends": [
"react-app",
"airbnb"
]
}

0 comments on commit 8f87c8a

Please sign in to comment.