From 6c7da5775f2c7971de7e96abf103c2ca424b5717 Mon Sep 17 00:00:00 2001 From: Nathan Bierema Date: Wed, 5 Aug 2020 08:49:13 -0400 Subject: [PATCH] Fix --- .eslintrc | 3 ++- package.json | 10 +++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.eslintrc b/.eslintrc index 0fefa292..fbc807e5 100644 --- a/.eslintrc +++ b/.eslintrc @@ -19,7 +19,8 @@ "max-len": ["warn", { "code": 120 , "ignoreComments": true }], "quotes": ["warn", "single", "avoid-escape"], "jsx-quotes": ["warn", "prefer-double"], - "react/prop-types": 0 + "react/prop-types": 0, + "prettier/prettier": "error" }, "plugins": [ "prettier", diff --git a/package.json b/package.json index 33ae291d..95110f41 100644 --- a/package.json +++ b/package.json @@ -19,10 +19,10 @@ "publish": "lerna publish", "canary": "lerna publish --canary preminor --npm-tag alpha", "next": "lerna publish --bump prerelease --npm-tag next", - "lint": "eslint '**/*.{js,jsx}' --cache", - "lint:fix": "eslint '**/*.{js,jsx}' --fix --cache", - "lint:all": "eslint '**/*.{js,jsx}'", - "prettify": "prettier '**/*.{js,jsx,json,css,html,md}' --ignore-path .eslintignore --single-quote --write", + "lint": "eslint \"**/*.{js,jsx}\" --cache", + "lint:fix": "eslint \"**/*.{js,jsx}\" --fix --cache", + "lint:all": "eslint \"**/*.{js,jsx}\"", + "prettify": "prettier \"**/*.{js,jsx,json,css,html,md}\" --ignore-path .eslintignore --single-quote --write", "precommit": "lint-staged", "test": "jest --onlyChanged", "test:all": "jest" @@ -36,7 +36,7 @@ "packages/redux-slider-monitor/examples/todomvc" ], "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" }, "lint-staged": { "*.{js,jsx}": [