Skip to content

Commit

Permalink
chore: make prettier format rc files as json
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcdo29 authored and github-actions[bot] committed Aug 16, 2022
1 parent dd44f6a commit af53477
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 12 deletions.
5 changes: 2 additions & 3 deletions .c8rc
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"exclude": ["integration", "**/test/*"],
"reporter": ["lcov", "text"
]
}
"reporter": ["lcov", "text"]
}
3 changes: 2 additions & 1 deletion .czrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"path": "./node_modules/cz-conventional-changelog"
}
}

12 changes: 4 additions & 8 deletions .lintstagedrc
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
{
"*.ts": [
"prettier --write",
"eslint --ext ts"
],
"*.{md,html,json,js}": [
"prettier --write"
]
}
"*.ts": ["prettier --write", "eslint --ext ts"],
"*.{md,html,json,js}": ["prettier --write"]
}

6 changes: 6 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@
"trailingComma": "none",
"proseWrap": "never"
}
},
{
"files": ".*rc",
"options": {
"parser": "json"
}
}
]
}

0 comments on commit af53477

Please sign in to comment.