Skip to content
This repository was archived by the owner on Nov 8, 2024. It is now read-only.

Commit 48d4f94

Browse files
committed
style: verify code style with eslint
1 parent e667741 commit 48d4f94

File tree

8 files changed

+1610
-232
lines changed

8 files changed

+1610
-232
lines changed

.eslintrc

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"extends": "airbnb-base",
3+
"env": {
4+
"mocha": true
5+
},
6+
"rules": {
7+
"no-restricted-syntax": "off"
8+
},
9+
"overrides": [
10+
{
11+
"files": "*-test.js",
12+
"rules": {
13+
"no-unused-expressions": "off"
14+
}
15+
}
16+
]
17+
}

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
language: node_js
22
node_js: '10'
3+
before_script: npm run lint
34
script: npm test
45
after_script: npm run archive
56

0 commit comments

Comments
 (0)