Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

Commit

Permalink
Auto-merge pull request #7 from atomist-skills/auto-link-channel-skill
Browse files Browse the repository at this point in the history
Update Prettier configuration
    
Pull request auto merged:

* No reviews
* 1 successful check
  • Loading branch information
atomist[bot] authored Jul 26, 2020
2 parents ade495e + a52c064 commit 052019c
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
legal/THIRD_PARTY.md
CHANGELOG.md
**/graphql/schema.json
package-lock.json
/doc/
10 changes: 10 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"overrides": [
{
"files": ["*.md", "*.markdown"],
"options": {
"tabWidth": 4
}
}
]
}
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,16 @@
"skill:bundle": "atm-skill bundle --minify --source-map",
"skill:package": "atm-skill package",
"skill:register": "atm-skill register",
"atm:lint:eslint": "eslint --fix"
"atm:lint:eslint": "eslint --fix",
"atm:lint:prettier": "prettier --write"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*.ts": "npm run atm:lint:eslint"
"**/*.ts": "npm run atm:lint:eslint",
"**/*.@(graphql|json|markdown|yaml|yml|md)": "npm run atm:lint:prettier"
}
}

0 comments on commit 052019c

Please sign in to comment.