Skip to content

Commit

Permalink
eslint: comma-dangle: only allow for multiline declarations (pouchdb#…
Browse files Browse the repository at this point in the history
  • Loading branch information
alxndrsn authored Jan 7, 2024
1 parent 5054bf8 commit 154440f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
},

"rules": {
"comma-dangle": ["error", "only-multiline"],
"eol-last": "error",
"no-empty": "off",
"no-console": "off",
Expand Down
2 changes: 1 addition & 1 deletion tests/find/test-suite-1/test.default-index.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ describe('test.default-index.js', function () {
]).then(function () {
return db.find({
selector: {foo: {$ne: "eba"}},
fields: ["_id",],
fields: ["_id"],
sort: ["_id"]
});
}).then(function (resp) {
Expand Down

0 comments on commit 154440f

Please sign in to comment.