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": {