This commit is contained in:
Nathan Bierema 2020-08-05 08:49:13 -04:00
parent 3022c55330
commit 6c7da5775f
2 changed files with 7 additions and 6 deletions

View File

@ -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",

View File

@ -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}": [