diff --git a/css/packages/stylelint-config-nebenan/package-lock.json b/css/packages/stylelint-config-nebenan/package-lock.json index cf747e2..64c3d69 100644 --- a/css/packages/stylelint-config-nebenan/package-lock.json +++ b/css/packages/stylelint-config-nebenan/package-lock.json @@ -1,6 +1,6 @@ { "name": "stylelint-config-nebenan", - "version": "1.6.1", + "version": "1.6.2", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/javascript/packages/eslint-config-nebenan/index.js b/javascript/packages/eslint-config-nebenan/index.js index f43066d..3be4572 100644 --- a/javascript/packages/eslint-config-nebenan/index.js +++ b/javascript/packages/eslint-config-nebenan/index.js @@ -28,6 +28,7 @@ module.exports = { 'react/default-props-match-prop-types': 'off', 'react/destructuring-assignment': 'off', // bugged 'react/jsx-one-expression-per-line': 'off', + 'react/jsx-props-no-multi-spaces': 'off', 'react/no-this-in-sfc': 'off', // broken 'jsx-a11y/no-static-element-interactions': 'off', diff --git a/javascript/packages/eslint-config-nebenan/package-lock.json b/javascript/packages/eslint-config-nebenan/package-lock.json index 40145d7..6347b76 100644 --- a/javascript/packages/eslint-config-nebenan/package-lock.json +++ b/javascript/packages/eslint-config-nebenan/package-lock.json @@ -594,9 +594,9 @@ } }, "eslint-plugin-react": { - "version": "7.20.5", - "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.20.5.tgz", - "integrity": "sha512-ajbJfHuFnpVNJjhyrfq+pH1C0gLc2y94OiCbAXT5O0J0YCKaFEHDV8+3+mDOr+w8WguRX+vSs1bM2BDG0VLvCw==", + "version": "7.21.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.21.0.tgz", + "integrity": "sha512-WaieZZ4cayAfPBmy5KkEqFfLQf/VkzoUsvM5DfD9G1lrz+3LtZ8X6nToEUQiFe1X5ApNIzkMd+7NUy+2OmSTQQ==", "requires": { "array-includes": "^3.1.1", "array.prototype.flatmap": "^1.2.3", @@ -622,9 +622,9 @@ } }, "eslint-plugin-react-hooks": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.0.8.tgz", - "integrity": "sha512-6SSb5AiMCPd8FDJrzah+Z4F44P2CdOaK026cXFV+o/xSRzfOiV1FNFeLl2z6xm3yqWOQEZ5OfVgiec90qV2xrQ==" + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.1.2.tgz", + "integrity": "sha512-ykUeqkGyUGgwTtk78C0o8UG2fzwmgJ0qxBGPp2WqRKsTwcLuVf01kTDRAtOsd4u6whX2XOC8749n2vPydP82fg==" }, "eslint-scope": { "version": "5.1.0", @@ -919,6 +919,11 @@ "is-extglob": "^2.1.1" } }, + "is-negative-zero": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.0.tgz", + "integrity": "sha1-lVOxIbD6wohp2p7UWeIMdUN4hGE=" + }, "is-regex": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.5.tgz", @@ -1385,12 +1390,51 @@ "dev": true }, "side-channel": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.2.tgz", - "integrity": "sha512-7rL9YlPHg7Ancea1S96Pa8/QWb4BtXL/TZvS6B8XFetGBeuhAsfmUspK6DokBeZ64+Kj9TCNRD/30pVz1BvQNA==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.3.tgz", + "integrity": "sha512-A6+ByhlLkksFoUepsGxfj5x1gTSrs+OydsRptUxeNCabQpCFUvcwIczgOigI8vhY/OJCnPnyE9rGiwgvr9cS1g==", "requires": { - "es-abstract": "^1.17.0-next.1", - "object-inspect": "^1.7.0" + "es-abstract": "^1.18.0-next.0", + "object-inspect": "^1.8.0" + }, + "dependencies": { + "es-abstract": { + "version": "1.18.0-next.0", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.0-next.0.tgz", + "integrity": "sha512-elZXTZXKn51hUBdJjSZGYRujuzilgXo8vSPQzjGYXLvSlGiCo8VO8ZGV3kjo9a0WNJJ57hENagwbtlRuHuzkcQ==", + "requires": { + "es-to-primitive": "^1.2.1", + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.1", + "is-callable": "^1.2.0", + "is-negative-zero": "^2.0.0", + "is-regex": "^1.1.1", + "object-inspect": "^1.8.0", + "object-keys": "^1.1.1", + "object.assign": "^4.1.0", + "string.prototype.trimend": "^1.0.1", + "string.prototype.trimstart": "^1.0.1" + } + }, + "is-callable": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.2.tgz", + "integrity": "sha512-dnMqspv5nU3LoewK2N/y7KLtxtakvTuaCsU9FU50/QDmdbHNy/4/JuRtMHqRU22o3q+W89YQndQEeCVwK+3qrA==" + }, + "is-regex": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.1.tgz", + "integrity": "sha512-1+QkEcxiLlB7VEyFtyBg94e08OAsvq7FUBgApTq/w2ymCLyKJgDPsybBENVtA7XCQEgEXxKPonG+mvYRxh/LIg==", + "requires": { + "has-symbols": "^1.0.1" + } + }, + "object-inspect": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.8.0.tgz", + "integrity": "sha512-jLdtEOB112fORuypAyl/50VRVIBIdVQOSUUGQHzJ4xBSbit81zRarz7GThkEFZy1RceYrWYcPcBFPQwHyAc1gA==" + } } }, "slice-ansi": { diff --git a/javascript/packages/eslint-config-nebenan/package.json b/javascript/packages/eslint-config-nebenan/package.json index 92ec063..9ecb6a9 100644 --- a/javascript/packages/eslint-config-nebenan/package.json +++ b/javascript/packages/eslint-config-nebenan/package.json @@ -6,7 +6,7 @@ "readmeFilename": "README.md", "repository": "goodhood-eu/styleguide", "bugs": "https://github.com/goodhood-eu/styleguide/issues", - "version": "2.0.0", + "version": "2.0.1", "keywords": [ "linter", "config", @@ -29,8 +29,8 @@ "eslint-config-nebenan-base": "^1.6.0", "eslint-plugin-import": "^2.22.0", "eslint-plugin-jsx-a11y": "^6.3.1", - "eslint-plugin-react": "^7.20.5", - "eslint-plugin-react-hooks": "^4.0.8" + "eslint-plugin-react": "^7.21.0", + "eslint-plugin-react-hooks": "^4.1.2" }, "peerDependencies": { "eslint": "^7.6.0" diff --git a/javascript/packages/eslint-config-nebenan/test/valid/props.jsx b/javascript/packages/eslint-config-nebenan/test/valid/props.jsx index 0fbdc2e..ded1492 100644 --- a/javascript/packages/eslint-config-nebenan/test/valid/props.jsx +++ b/javascript/packages/eslint-config-nebenan/test/valid/props.jsx @@ -4,6 +4,7 @@ const React = {}; const Bool = (
);