Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

Commit

Permalink
Fix jsx-props-no-multi-spaces setting (#17)
Browse files Browse the repository at this point in the history
eslint-plugin-react 7.21.0 restored this rules functionality. We don't want it.
  • Loading branch information
peterhass committed Sep 24, 2020
1 parent 8c9dfcd commit 1c73cd3
Show file tree
Hide file tree
Showing 5 changed files with 61 additions and 15 deletions.
2 changes: 1 addition & 1 deletion css/packages/stylelint-config-nebenan/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions javascript/packages/eslint-config-nebenan/index.js
Expand Up @@ -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',
Expand Down
66 changes: 55 additions & 11 deletions javascript/packages/eslint-config-nebenan/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions javascript/packages/eslint-config-nebenan/package.json
Expand Up @@ -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",
Expand All @@ -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"
Expand Down
Expand Up @@ -4,6 +4,7 @@ const React = {};
const Bool = (
<div
show

hide={false}
/>
);

0 comments on commit 1c73cd3

Please sign in to comment.