From ea2d4070aae7dfa0f2a684f61c5614abe567fa64 Mon Sep 17 00:00:00 2001 From: Ben Martinez-Bateman Date: Mon, 18 Dec 2017 10:50:49 -0800 Subject: [PATCH] Rename production eslint file from `.eslintrcProd` to `.eslint.production.json` as per suggestion from @swalkinshaw: https://github.com/roots/sage/pull/2008#issuecomment-352520506 --- .eslintrcProd => .eslintrc.production.json | 2 +- resources/assets/build/config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename .eslintrcProd => .eslintrc.production.json (66%) diff --git a/.eslintrcProd b/.eslintrc.production.json similarity index 66% rename from .eslintrcProd rename to .eslintrc.production.json index bcadb59..f534afe 100644 --- a/.eslintrcProd +++ b/.eslintrc.production.json @@ -3,6 +3,6 @@ "./package.json" ], "rules": { - "no-console": ["error"], + "no-console": ["error"] } } diff --git a/resources/assets/build/config.js b/resources/assets/build/config.js index 26a3812..94d645b 100644 --- a/resources/assets/build/config.js +++ b/resources/assets/build/config.js @@ -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,