Skip to content

Commit

Permalink
Add lint script
Browse files Browse the repository at this point in the history
  • Loading branch information
imbhargav5 committed Jan 27, 2019
1 parent 29c9e30 commit 8e30569
Show file tree
Hide file tree
Showing 24 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "React hooks.",
"scripts": {
"clean": "lerna clean",
"lint": "lerna run lint --stream --parallel",
"test": "lerna run test --stream --parallel",
"coverage": "lerna run test --stream --parallel -- --coverage",
"dev": "cd packages/website && yarn dev",
Expand Down
1 change: 1 addition & 0 deletions packages/boundingclientrect/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
},
"scripts": {
"test": "jest",
"lint": "eslint src test",
"build": "babel src --out-dir lib",
"prepublish": "npm run build"
},
Expand Down
1 change: 1 addition & 0 deletions packages/counter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
},
"scripts": {
"test": "jest",
"lint": "eslint src test",
"build": "babel src --out-dir lib",
"prepublish": "npm run build"
},
Expand Down
1 change: 1 addition & 0 deletions packages/did-mount/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
},
"scripts": {
"test": "jest",
"lint": "eslint src test",
"build": "babel src --out-dir lib",
"prepublish": "npm run build"
},
Expand Down
1 change: 1 addition & 0 deletions packages/input/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
},
"scripts": {
"test": "jest",
"lint": "eslint src test",
"build": "babel src --out-dir lib",
"prepublish": "npm run build"
},
Expand Down
1 change: 1 addition & 0 deletions packages/interval/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
},
"scripts": {
"test": "jest",
"lint": "eslint src test",
"build": "babel src --out-dir lib",
"prepublish": "npm run build"
},
Expand Down
1 change: 1 addition & 0 deletions packages/key/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
},
"scripts": {
"test": "jest",
"lint": "eslint src test",
"build": "babel src --out-dir lib",
"prepublish": "npm run build"
},
Expand Down
1 change: 1 addition & 0 deletions packages/localstorage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
},
"scripts": {
"test": "jest",
"lint": "eslint src test",
"build": "babel src --out-dir lib",
"prepublish": "npm run build"
},
Expand Down
1 change: 1 addition & 0 deletions packages/mouse/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
},
"scripts": {
"test": "jest",
"lint": "eslint src test",
"build": "babel src --out-dir lib",
"prepublish": "npm run build"
},
Expand Down
1 change: 1 addition & 0 deletions packages/mutation-observer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
},
"scripts": {
"test": "jest",
"lint": "eslint src test",
"build": "babel src --out-dir lib",
"prepublish": "npm run build"
},
Expand Down
1 change: 1 addition & 0 deletions packages/navigator-language/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
},
"scripts": {
"test": "jest",
"lint": "eslint src test",
"build": "babel src --out-dir lib",
"prepublish": "npm run build"
},
Expand Down
1 change: 1 addition & 0 deletions packages/online/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
},
"scripts": {
"test": "jest",
"lint": "eslint src test",
"build": "babel src --out-dir lib",
"prepublish": "npm run build"
},
Expand Down
1 change: 1 addition & 0 deletions packages/outside-click/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
},
"scripts": {
"test": "jest",
"lint": "eslint src test",
"build": "babel src --out-dir lib",
"prepublish": "npm run build"
},
Expand Down
1 change: 1 addition & 0 deletions packages/previous/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
},
"scripts": {
"test": "jest",
"lint": "eslint src test",
"build": "babel src --out-dir lib",
"prepublish": "npm run build"
},
Expand Down
1 change: 1 addition & 0 deletions packages/raf/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
},
"scripts": {
"test": "jest",
"lint": "eslint src test",
"build": "babel src --out-dir lib",
"prepublish": "npm run build"
},
Expand Down
1 change: 1 addition & 0 deletions packages/select/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
},
"scripts": {
"test": "jest",
"lint": "eslint src test",
"build": "babel src --out-dir lib",
"prepublish": "npm run build"
},
Expand Down
1 change: 1 addition & 0 deletions packages/sessionstorage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
},
"scripts": {
"test": "jest",
"lint": "eslint src test",
"build": "babel src --out-dir lib",
"prepublish": "npm run build"
},
Expand Down
1 change: 1 addition & 0 deletions packages/time-ago/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
},
"scripts": {
"test": "jest",
"lint": "eslint src test",
"build": "babel src --out-dir lib",
"prepublish": "npm run build"
},
Expand Down
1 change: 1 addition & 0 deletions packages/timeout/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
},
"scripts": {
"test": "jest",
"lint": "eslint src test",
"build": "babel src --out-dir lib",
"prepublish": "npm run build"
},
Expand Down
1 change: 1 addition & 0 deletions packages/toggle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
},
"scripts": {
"test": "jest",
"lint": "eslint src test",
"build": "babel src --out-dir lib",
"prepublish": "npm run build"
},
Expand Down
1 change: 1 addition & 0 deletions packages/visibility-sensor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
},
"scripts": {
"test": "jest",
"lint": "eslint src test",
"build": "babel src --out-dir lib",
"prepublish": "npm run build"
},
Expand Down
1 change: 1 addition & 0 deletions packages/will-unmount/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
},
"scripts": {
"test": "jest",
"lint": "eslint src test",
"build": "babel src --out-dir lib",
"prepublish": "npm run build"
},
Expand Down
1 change: 1 addition & 0 deletions packages/window-size/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
},
"scripts": {
"test": "jest",
"lint": "eslint src test",
"build": "babel src --out-dir lib",
"test:example": "parcel test/index.html",
"prepublish": "npm run build"
Expand Down
1 change: 1 addition & 0 deletions packages/worker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
},
"scripts": {
"test": "jest",
"lint": "eslint src test",
"build": "babel src --out-dir lib",
"prepublish": "npm run build"
},
Expand Down

0 comments on commit 8e30569

Please sign in to comment.