Skip to content

Commit

Permalink
chore(eslint): disable comma-dangle
Browse files Browse the repository at this point in the history
The `comma-dangle` ESLint rule conflicts with the default Prettier
trailing commas, at least until Prettier v3.
  • Loading branch information
aloisklink committed Jul 10, 2023
1 parent 861ca80 commit 287b679
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ module.exports = /** @type {import("eslint").ESLint.Options} */ ({
extends: ["@nqminds/eslint-config-react"],
rules: {
"object-curly-spacing": "off", // conflicts with prettier
"comma-dangle": "off", // conflicts with prettier v2
},
});

0 comments on commit 287b679

Please sign in to comment.