Rename production eslint file from .eslintrcProd to .eslint.production.json as per suggestion from @swalkinshaw: https://github.com/roots/sage/pull/2008#issuecomment-352520506

This commit is contained in:
Ben Martinez-Bateman
2017-12-18 10:50:49 -08:00
parent 626c9e6535
commit ea2d4070aa
2 changed files with 2 additions and 2 deletions

View File

@@ -3,6 +3,6 @@
"./package.json"
],
"rules": {
"no-console": ["error"],
"no-console": ["error"]
}
}

View File

@@ -20,7 +20,7 @@ const config = merge({
root: rootPath,
assets: path.join(rootPath, 'resources/assets'),
dist: path.join(rootPath, 'dist'),
eslintProd: path.join(rootPath, '.eslintrcProd'),
eslintProd: path.join(rootPath, '.eslintrc.production.json'),
},
enabled: {
sourceMaps: !isProduction,