File tree 2 files changed +9
-4
lines changed
2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 3
3
This project is a work in progress. Contributions are very welcome.
4
4
5
5
## Hard rules
6
- * Run ` npm test ` to lint the code examples. Your changes must pass.
7
- * If you add a new definition or reorder them run ` npm run toc ` to regenerate the table of contents.
6
+ There is a pre-commit hook that runs: ` npm run test && npm run roadmarks ` for linting the readme and creating the TOC.
8
7
9
8
That said, we'd like to maintain some consistency across the document.
10
9
Original file line number Diff line number Diff line change 20
20
"devDependencies" : {
21
21
"eslint" : " ^3.4.0" ,
22
22
"eslint-config-standard" : " ^6.0.0" ,
23
- "eslint-plugin-markdown" : " ^1.0.0-beta.2" ,
23
+ "eslint-plugin-markdown" : " ^1.0.0-beta.6" ,
24
+ "eslint-plugin-standard" : " ^3.0.1" ,
25
+ "pre-commit" : " ^1.2.2" ,
24
26
"roadmarks" : " ^1.6.3"
25
- }
27
+ },
28
+ "pre-commit" : [
29
+ " test" ,
30
+ " toc"
31
+ ]
26
32
}
You can’t perform that action at this time.
0 commit comments