Skip to content

Commit 4dc149b

Browse files
chore: add package-lock.json and prettier (#131)
## Description This PR checks in `package-lock.json`, which is recommended to be checked in by npm. This PR also adds code formatting with Prettier. This is accomplished by adding a `npm run pretty` command which anyone can run to format the source code and tests. It is also recommended that PrettierCI be added to this repo to enforce code formatting.
1 parent 65cae17 commit 4dc149b

11 files changed

+3745
-75
lines changed

.prettierignore

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
CHANGELOG.md
2+
package.json
3+
package-lock.json
4+
dist

.prettierrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
singleQuote: true

.travis.yml

+5
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,8 @@ addons:
1414
- ubuntu-toolchain-r-test
1515
packages:
1616
- g++-4.8
17+
18+
branches:
19+
only:
20+
- master
21+
- /release.*/

0 commit comments

Comments
 (0)