npm(prettier-config): consolidate globs

Summary:
`**/*` rules.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: verify the globs are as expected.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Tags: #npm

Differential Revision: https://issuetracker.revi.xyz/D516
This commit is contained in:
revi 2024-07-04 05:50:13 +09:00
parent 8523bec70c
commit a67b75e02f
Signed by: revi
GPG key ID: 1EB4F6CEEA100E94
4 changed files with 16 additions and 17 deletions

View file

@ -10,6 +10,15 @@ # `@revi/prettier-config` changelog
- minor: When the plugin is added.
- patch: When the rule is modified (without plugin addition/removal).
## v0.1.2
Date: 2024-07-04 (KST)
### Update
- Update `**` globs and consolidate.
- Use `revi.kr/prettier-config` for homepage link.
## v0.1.1
### Fix

View file

@ -32,19 +32,14 @@ ## Config
},
{
files: [
'**.hujson',
'**/*.hujson',
'.devcontainer.json',
'.devcontainer/*/devcontainer.json',
'.devcontainer/devcontainer.json',
'.vscode/*.json',
'.devcontainer/**/devcontainer.json',
'.vscode/**/*.json',
'**/jsconfig.json',
'**/jsconfig.*.json',
'**/tsconfig.json',
'**/tsconfig.*.json',
'jsconfig.json',
'jsconfig.*.json',
'tsconfig.json',
'tsconfig.*.json',
],
options: {parser: 'jsonc', trailingComma: 'none'},
},

View file

@ -1,7 +1,7 @@
{
"$schema": "https://json.schemastore.org/package.json",
"name": "@revi/prettier-config",
"version": "0.1.1",
"version": "0.1.2",
"author": {
"name": "revi",
"email": "package-admin@revi.dev",

View file

@ -32,19 +32,14 @@ const config = {
},
{
files: [
'**.hujson',
'**/*.hujson',
'.devcontainer.json',
'.devcontainer/*/devcontainer.json',
'.devcontainer/devcontainer.json',
'.vscode/*.json',
'.devcontainer/**/devcontainer.json',
'.vscode/**/*.json',
'**/jsconfig.json',
'**/jsconfig.*.json',
'**/tsconfig.json',
'**/tsconfig.*.json',
'jsconfig.json',
'jsconfig.*.json',
'tsconfig.json',
'tsconfig.*.json',
],
options: {parser: 'jsonc', trailingComma: 'none'},
},