From 4dfcf8f01bc28bd1ef6f600e03508903110c94e9 Mon Sep 17 00:00:00 2001 From: Maxime Thirouin Date: Mon, 24 Oct 2016 22:02:01 +0200 Subject: [PATCH] Base theme linting should break the tests --- package.json | 2 +- themes/phenomic-theme-base/package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index a3c383aa1..630ecf6d6 100644 --- a/package.json +++ b/package.json @@ -157,7 +157,7 @@ "#integration-tests": "needs this order (index test the build, and cli is cleaning it)", "integration-tests": "ava __tests__/index.js && ava __tests__/cli.js", "phenomic-theme-base": "babel-node scripts/phenomic-theme-base.js", - "phenomic-theme-base-linting": "eslint --ignore-path .gitignore --fix themes/phenomic-theme-base/scripts themes/phenomic-theme-base/src", + "phenomic-theme-base-linting": "eslint --config package.json --ignore-path .gitignore --fix themes/phenomic-theme-base/scripts themes/phenomic-theme-base/src", "prephenomic-theme-base-start": "npm run transpile && npm run phenomic-theme-base", "phenomic-theme-base-start": "cd themes/phenomic-theme-base && npm start", "pretest-phenomic-theme-base": "babel-node scripts/test-phenomic-theme-base.js", diff --git a/themes/phenomic-theme-base/package.json b/themes/phenomic-theme-base/package.json index f128951bb..87d69ed21 100644 --- a/themes/phenomic-theme-base/package.json +++ b/themes/phenomic-theme-base/package.json @@ -74,6 +74,7 @@ } }, "eslintConfig": { + "root": true, "extends": "./node_modules/phenomic/lib/eslint-config-recommended/index.js" }, "stylelint": {