Skip to content

Commit

Permalink
no more lint-staged git hook, fixes #144
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbe committed Feb 14, 2018
1 parent 2b0eceb commit 3100f38
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 365 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Expand Up @@ -16,8 +16,8 @@ testing. Hopefully it's clear from any errors there what needs to be done.
## Style guide

All patches are expected to run [Prettier](https://github.com/prettier/prettier)
as described and configured in the `package.json`'s `lint-staged` script.
I.e. single quotes and no semicolons.
as described and configured in the `.prettierrc`. You can run this with
`yarn lintcheck`. There are no lint checking pre-commit git hooks.

Variables names should be camelCase and it's `someUrl` or `someCss` not
`someURL` or `someCSS`.
5 changes: 0 additions & 5 deletions package.json
Expand Up @@ -31,9 +31,7 @@
"@types/puppeteer": "1.0.0",
"fastify": "0.43.0",
"fastify-static": "0.8.0",
"husky": "0.14.3",
"jest": "22.3.0",
"lint-staged": "6.1.0",
"prettier": "1.10.2",
"typescript": "2.7.1"
},
Expand All @@ -43,8 +41,5 @@
"lintcheck": "scripts/lintcheck.sh",
"test": "jest",
"e2e": "./bin/e2e.js"
},
"lint-staged": {
"**/*.js": ["prettier --write", "git add"]
}
}

0 comments on commit 3100f38

Please sign in to comment.