Skip to content

Commit

Permalink
Turn off @typescript-eslint/comma-dangle (#159)
Browse files Browse the repository at this point in the history
Fix #158
  • Loading branch information
ybiquitous authored Sep 25, 2020
1 parent 9444ee0 commit 84dfbd5
Show file tree
Hide file tree
Showing 5 changed files with 179 additions and 33 deletions.
1 change: 1 addition & 0 deletions @typescript-eslint.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ module.exports = {
"@typescript-eslint/quotes": 0,

"@typescript-eslint/brace-style": "off",
"@typescript-eslint/comma-dangle": "off",
"@typescript-eslint/comma-spacing": "off",
"@typescript-eslint/func-call-spacing": "off",
"@typescript-eslint/indent": "off",
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,7 @@ eslint-config-prettier has been tested with:
- eslint-config-prettier 2.10.0 and older were tested with ESLint 4.x
- eslint-config-prettier 2.1.1 and older were tested with ESLint 3.x
- prettier 2.0.5
- @typescript-eslint/eslint-plugin 3.1.0
- @typescript-eslint/eslint-plugin 4.2.0
- eslint-plugin-babel 5.3.0
- eslint-plugin-flowtype 5.1.3
- eslint-plugin-react 7.20.0
Expand Down
203 changes: 174 additions & 29 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
"get-stdin": "^6.0.0"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "3.1.0",
"@typescript-eslint/parser": "3.1.0",
"@typescript-eslint/eslint-plugin": "4.2.0",
"@typescript-eslint/parser": "4.2.0",
"babel-eslint": "10.1.0",
"cross-spawn": "7.0.3",
"doctoc": "1.4.0",
Expand Down
2 changes: 1 addition & 1 deletion test-lint/@typescript-eslint.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* eslint-disable quotes */
/* eslint-disable quotes, no-unused-vars */
"use strict";

// Prettier wants 2-space indentation,
Expand Down

0 comments on commit 84dfbd5

Please sign in to comment.