Skip to content

Commit

Permalink
Merge pull request #4512 from Swiftb0y/eslint-chained-method-calls
Browse files Browse the repository at this point in the history
.eslintrc.json: adjust eslint rules to enforce readable chain syntax
  • Loading branch information
Holzhaus authored Nov 10, 2021
2 parents 5577f36 + b2c57a9 commit 44accaf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"computed-property-spacing" : ["warn", "never", {
"enforceForClassMembers": true
}],
"dot-location": "warn",
"dot-location": ["warn", "property"],
"dot-notation": "warn",
"eqeqeq": ["error", "always"],
"func-call-spacing": "warn",
Expand All @@ -27,6 +27,7 @@
"key-spacing": "warn",
"keyword-spacing": "warn",
"linebreak-style": ["warn", "unix"],
"newline-per-chained-call": "warn",
"no-constructor-return": "warn",
"no-extra-bind": "warn",
"no-sequences": "warn",
Expand Down

0 comments on commit 44accaf

Please sign in to comment.