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:
parent
8523bec70c
commit
a67b75e02f
4 changed files with 16 additions and 17 deletions
|
@ -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
|
||||
|
|
|
@ -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'},
|
||||
},
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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'},
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue