Skip to content

Commit

Permalink
Move prettier config to own file
Browse files Browse the repository at this point in the history
  • Loading branch information
oskarrough committed May 23, 2024
1 parent 08d2ea8 commit 947d334
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
8 changes: 1 addition & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,5 @@
"bugs": {
"url": "https://github.com/radio4000/components/issues"
},
"homepage": "https://github.com/radio4000/components#readme",
"prettier": {
"semi": false,
"singleQuote": true,
"bracketSpacing": false,
"printWidth": 120
}
"homepage": "https://github.com/radio4000/components#readme"
}
11 changes: 11 additions & 0 deletions prettier.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/** @type {import("prettier").Config} */
const config = {
"semi": false,
"singleQuote": true,
"bracketSpacing": false,
"printWidth": 120,
"useTabs": true
}

export default config

0 comments on commit 947d334

Please sign in to comment.