Skip to content

Commit

Permalink
disable operator-linbreaks rule for React and React TS projects
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrinko committed Feb 21, 2024
1 parent f6a9329 commit 17365ab
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions mate-scripts/configs/templates/react/.eslintrc.js.template
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ module.exports = {
assert: 'either',
}],
'jsx-a11y/control-has-associated-label': 'off',
'operator-linebreak': 0,
},
};
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ module.exports = {
'jsx-a11y/label-has-associated-control': ["error", {
assert: "either",
}],
'operator-linebreak': 0,
},
};
2 changes: 1 addition & 1 deletion mate-scripts/package-lock.json

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

2 changes: 1 addition & 1 deletion mate-scripts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mate-academy/scripts",
"version": "1.7.0",
"version": "1.7.1",
"description": "Scripts to init, run, test, deploy Mate academy homework projects",
"main": "bin/mateScripts.js",
"scripts": {
Expand Down

0 comments on commit 17365ab

Please sign in to comment.