diff --git a/.eslintrc b/.eslintrc index c28e5f0..70fbc9f 100644 --- a/.eslintrc +++ b/.eslintrc @@ -42,6 +42,7 @@ ] } ], + "react/jsx-props-no-spreading": "off", "no-multi-assign": 0, "arrow-body-style": [ "error", diff --git a/package.json b/package.json index 56f1520..86c5645 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "build": "yarn clean & cross-env NODE_ENV=production rollup -c && packito", "build-storybook": "build-storybook -c .storybook -o public", "storybook": "start-storybook -p 9005 -c .storybook", - "lint": "$(yarn bin)/eslint src", + "lint": "eslint src", "test": "cross-env NODE_ENV=test jest", "coverage": "cross-env NODE_ENV=test jest --coverage --colors", "prepublishOnly": "yarn build" @@ -48,7 +48,7 @@ "eslint-plugin-prettier": "^3.1.2", "eslint-plugin-react": "^7.18.3", "eslint-plugin-react-hooks": "^2.3.0", - "husky": "^4.2.1", + "husky": "^5.1.3", "jest": "^25.1.0", "jest-css-modules": "^2.1.0", "jest-styled-components": "^7.0.0", diff --git a/src/components/ColorBox/AlphaSlider.jsx b/src/components/ColorBox/AlphaSlider.jsx index b2e7f3e..03d2a62 100644 --- a/src/components/ColorBox/AlphaSlider.jsx +++ b/src/components/ColorBox/AlphaSlider.jsx @@ -56,7 +56,6 @@ function AlphaSlider({ color, ...props }) { return (