diff --git a/package.json b/package.json index 9658b79dcac..440c0acbd85 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "build": "npm run clean && webpack --progress --colors --bail", "clean": "rm -rf ./build && mkdir -p build", "deploy": "gh-pages -d build -m \"Build for $(git log --pretty=format:%H -n1)\"", - "lint": "eslint .", + "lint": "eslint . --ext .js,.jsx", "postmerge": "opt --in postmerge --exec 'npm install'", "postrewrite": "opt --in postrewrite --exec 'npm install'", "precommit": "opt --in precommit --exec 'npm run lint'", @@ -41,7 +41,7 @@ "babel-preset-react": "6.11.1", "copy-webpack-plugin": "3.0.1", "eslint": "3.5.0", - "eslint-config-scratch": "^1.0.0", + "eslint-config-scratch": "^2.0.0", "eslint-plugin-react": "6.4.1", "gh-pages": "0.11.0", "html-webpack-plugin": "2.22.0",