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

Better handling of whitespace in serialization #31

Merged
merged 4 commits into from
May 11, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"quotes": [ 2, "single" ],
"linebreak-style": [ 2, "unix" ],
"semi": [ 2, "always" ],
"space-after-keywords": [ 2, "always" ],
"keyword-spacing": [ 2, { "after": true } ],
"space-before-blocks": [ 2, "always" ],
"space-before-function-paren": [ 2, "always" ],
"no-mixed-spaces-and-tabs": [ 2, "smart-tabs" ],
Expand Down
10 changes: 10 additions & 0 deletions .lintstagedrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"src/**/*.js": [
"eslint --fix",
"git add"
],
"test/test.js": [
"eslint --fix",
"git add"
]
}
9 changes: 6 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
sudo: false
language: node_js
node_js:
- "0.12"
- "4"
- "6"
- "8"
- "10"
env:
global:
- BUILD_TIMEOUT=10000
install: npm install
# script: npm run ci
install: npm install --ignore-scripts
before_install:
- if [[ $TRAVIS_NODE_VERSION -lt 7 ]]; then npm install --global npm@4; fi
6 changes: 4 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@ init:

environment:
matrix:
# node.js
- nodejs_version: 0.12
- nodejs_version: 4
- nodejs_version: 6
- nodejs_version: 8
- nodejs_version: 10

install:
- ps: Install-Product node $env:nodejs_version
- IF %nodejs_version% LSS 7 npm -g install npm@4
- npm install

build: off
Expand Down
Loading