Skip to content

Commit

Permalink
fix: prettier and removed husky pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-blunden committed Oct 23, 2018
1 parent 9fc0e29 commit be68f30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"tslint-schema": "download http://json.schemastore.org/tslint | json2ts | prettier --parser typescript > src/tslint.ts",
"prettier": "prettier '**/*.{js?(on),ts}' --write --list-different",
"semantic-release": "semantic-release",
"pre-commit": "npm run tslint && npm run prettier --staged"
"pre-commit": "npm run tslint && npm run prettier"
},
"commitlint": {
"extends": [
Expand Down Expand Up @@ -68,7 +68,6 @@
},
"husky": {
"hooks": {
"pre-commit": "npm run pre-commit",
"commit-msg": "commitlint -e $HUSKY_GIT_PARAMS"
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ async function main(): Promise<void> {
await writeFile(
'src/extension.ts',
[
'import * as sourcegraph from \'sourcegraph\'',
"import * as sourcegraph from 'sourcegraph'",
'',
'export function activate(): void {',
" sourcegraph.languages.registerHoverProvider(['*'], {",
Expand Down

0 comments on commit be68f30

Please sign in to comment.