Skip to content

Commit

Permalink
Remove dangling comma on json files
Browse files Browse the repository at this point in the history
  • Loading branch information
joao-vasconcelos committed Sep 27, 2024
1 parent 6ba15ec commit 7f1b8e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions rules/common.rule.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ export default tseslint.config(
{
files: ['**/*.json'],
rules: {
'@stylistic/comma-dangle': ['error', 'never'],
'jsonc/auto': 'error',
'jsonc/sort-keys': ['error', 'asc'],
},
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"outDir": "dist",
"rootDir": ".",
"sourceMap": true,
"target": "ESNext",
"target": "ESNext"
},
"exclude": ["**/node_modules", "**/.*/", "**/dist/"],
"exclude": ["**/node_modules", "**/.*/", "**/dist/"]
}

0 comments on commit 7f1b8e5

Please sign in to comment.