Skip to content

Commit

Permalink
feat: add prettier configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath committed Dec 5, 2019
1 parent c50a53a commit 34ff731
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"$schema": "http://json.schemastore.org/prettierrc",
"semi": true,
"useTabs": false,
"singleQuote": true,
"bracketSpacing": true,
"jsxSingleQuote": false,
"jsxBracketSameLine": false,
"quoteProps": "consistent",
"proseWrap": "always",
"endOfLine": "lf",
"arrowParens": "avoid",
"trailingComma": "none",
"htmlWhitespaceSensitivity": "ignore"
}
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Ackama Prettier Configuration

Standard Prettier configuration for Ackama projects.

#### Releasing

To release a new version, run

npm version <major|minor|patch>
npm publish
5 changes: 5 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "prettier-config-ackama",
"version": "0.0.0",
"description": "Standard Prettier configuration for Ackama projects.",
"homepage": "https://bitbucket.org/rabidtech/prettier-config-ackama#readme",
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/rabidtech/prettier-config-ackama.git"
},
"license": "ISC",
"author": "Gareth Jones",
"files": [
".prettierrc.json"
],
"main": "./.prettierrc.json",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {},
"devDependencies": {}
}

0 comments on commit 34ff731

Please sign in to comment.