Skip to content

Commit 85aa4f7

Browse files
committed
chore(pkg): fixup eslint config
1 parent a7afb35 commit 85aa4f7

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.eslintrc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
},
3030
"globals": {
3131
// For Flow
32-
"ReactElement",
33-
"ReactClass",
34-
"SyntheticEvent"
32+
"ReactElement": false,
33+
"ReactClass": false,
34+
"SyntheticEvent": false
3535
}
3636
}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
"description": "A component that is resizable with handles.",
55
"main": "index.js",
66
"scripts": {
7-
"lint": "eslint --ext .js,.jsx lib/ test/; flow",
7+
"lint": "eslint lib/ __tests__/ setupTests/; flow",
88
"test": "jest --coverage --runInBand",
99
"unit": "jest --watch",
1010
"build": "bash build.sh",
1111
"build-example": "webpack",
1212
"dev": "webpack-dev-server --open --open-page=examples/1.html",
1313
"watch": "webpack --progress --watch",
14-
"prepare": "npm run build",
14+
"prepublishOnly": "npm run build",
1515
"validate": "yarn check",
1616
"preversion": "npm run lint",
1717
"version": "git add CHANGELOG.md",

0 commit comments

Comments
 (0)