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:
@@ -3,6 +3,6 @@
|
||||
"./package.json"
|
||||
],
|
||||
"rules": {
|
||||
"no-console": ["error"],
|
||||
"no-console": ["error"]
|
||||
}
|
||||
}
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user