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"
|
"./package.json"
|
||||||
],
|
],
|
||||||
"rules": {
|
"rules": {
|
||||||
"no-console": ["error"],
|
"no-console": ["error"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -20,7 +20,7 @@ const config = merge({
|
|||||||
root: rootPath,
|
root: rootPath,
|
||||||
assets: path.join(rootPath, 'resources/assets'),
|
assets: path.join(rootPath, 'resources/assets'),
|
||||||
dist: path.join(rootPath, 'dist'),
|
dist: path.join(rootPath, 'dist'),
|
||||||
eslintProd: path.join(rootPath, '.eslintrcProd'),
|
eslintProd: path.join(rootPath, '.eslintrc.production.json'),
|
||||||
},
|
},
|
||||||
enabled: {
|
enabled: {
|
||||||
sourceMaps: !isProduction,
|
sourceMaps: !isProduction,
|
||||||
|
|||||||
Reference in New Issue
Block a user