Skip to content

Commit

Permalink
Merge pull request #11 from xx45/dev
Browse files Browse the repository at this point in the history
chore(eslint): eslint to test file
  • Loading branch information
iamkun authored Apr 11, 2018
2 parents 15aaa5d + 49bd2c2 commit 78c4fbf
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 7,978 deletions.
6 changes: 6 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
{
"extends": "airbnb-base",
"plugins": [
"jest"
],
"env": {
"jest/globals": true
},
"rules": {
"semi": [2, "never"]
}
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

# npm
node_modules
yarn.lock
package-lock.json

# jest
coverage
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ node_js:
- '6'
install:
- npm install -g codecov
- npm install
script:
- npm run lint
- npm test
Expand Down
2 changes: 1 addition & 1 deletion ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

[![NPM version](https://img.shields.io/npm/v/dayjs.svg?style=flat-square)](https://www.npmjs.com/package/dayjs)
[![Build Status](https://img.shields.io/travis/xx45/dayjs/master.svg?style=flat-square)](https://travis-ci.org/xx45/dayjs)
[![codecov](https://img.shields.io/codecov/c/github/xx45/dayjs/master.svg?style=flat-square)](https://codecov.io/gh/xx45/dayjs)
[![Codecov](https://img.shields.io/codecov/c/github/xx45/dayjs/master.svg?style=flat-square)](https://codecov.io/gh/xx45/dayjs)
[![License](https://img.shields.io/npm/l/dayjs.svg?style=flat-square)](https://github.com/xx45/dayjs/blob/master/LICENSE)
Loading

0 comments on commit 78c4fbf

Please sign in to comment.