Skip to content

Commit

Permalink
Remove json from prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
mertsincan committed Nov 13, 2024
1 parent e743f33 commit 840c654
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 40 deletions.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ node_modules
*.md
*.yml
/tsconfig.json
*.json
7 changes: 0 additions & 7 deletions .prettierrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,6 @@
"parser": "typescript"
}
},
{
"files": ["*.json"],
"options": {
"singleQuote": false,
"parser": "json"
}
},
{
"files": ["*.html"],
"options": {
Expand Down
4 changes: 0 additions & 4 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,5 @@
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
}
}
31 changes: 2 additions & 29 deletions packages/primeng/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,35 +13,8 @@
"bugs": {
"url": "https://github.com/primefaces/primeng/issues"
},
"keywords": [
"primeng",
"angular",
"ui library",
"component library",
"material",
"bootstrap",
"fluent",
"tailwind"
],
"main": "./src/index.js",
"module": "./src/index.js",
"types": "./src/index.d.ts",
"keywords": ["primeng", "angular", "ui library", "component library", "material", "bootstrap", "fluent", "tailwind"],
"publishConfig": {
"main": "./index.mjs",
"module": "./index.mjs",
"types": "./index.d.ts",
"exports": {
".": {
"types": "./index.d.ts",
"import": "./index.mjs",
"default": "./index.mjs"
},
"./*": {
"types": "./*/index.d.ts",
"import": "./*/index.mjs",
"default": "./*/index.mjs"
}
},
"directory": "dist",
"linkDirectory": false,
"access": "public"
Expand Down Expand Up @@ -81,4 +54,4 @@
"engines": {
"node": ">=12.11.0"
}
}
}

0 comments on commit 840c654

Please sign in to comment.