Skip to content

Commit

Permalink
Move Prettier configuration into a standalone file
Browse files Browse the repository at this point in the history
  • Loading branch information
jtomasek committed Jan 11, 2024
1 parent 23f6e76 commit 12faf02
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"trailingComma": "es5",
"printWidth": 100,
"singleQuote": true
}
8 changes: 2 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,7 @@
"clean": "./node_modules/@rancher/shell/scripts/clean",
"build-pkg": "./node_modules/@rancher/shell/scripts/build-pkg.sh",
"serve-pkgs": "./node_modules/@rancher/shell/scripts/serve-pkgs",
"publish-pkgs": "./node_modules/@rancher/shell/scripts/extension/publish"
},
"prettier": {
"trailingComma": "es5",
"printWidth": 100,
"singleQuote": true
"publish-pkgs": "./node_modules/@rancher/shell/scripts/extension/publish",
"parse-tag-name": "./node_modules/@rancher/shell/scripts/extension/parse-tag-name"
}
}
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@
"exclude": [
"node_modules"
]
}
}

0 comments on commit 12faf02

Please sign in to comment.