Skip to content

Commit 55d359a

Browse files
authored
Merge pull request #10 from rschamp/lint-2
Actually lint React files
2 parents cdbf45a + 620843c commit 55d359a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"build": "npm run clean && webpack --progress --colors --bail",
1111
"clean": "rm -rf ./build && mkdir -p build",
1212
"deploy": "gh-pages -d build -m \"Build for $(git log --pretty=format:%H -n1)\"",
13-
"lint": "eslint .",
13+
"lint": "eslint . --ext .js,.jsx",
1414
"postmerge": "opt --in postmerge --exec 'npm install'",
1515
"postrewrite": "opt --in postrewrite --exec 'npm install'",
1616
"precommit": "opt --in precommit --exec 'npm run lint'",
@@ -41,7 +41,7 @@
4141
"babel-preset-react": "6.11.1",
4242
"copy-webpack-plugin": "3.0.1",
4343
"eslint": "3.5.0",
44-
"eslint-config-scratch": "^1.0.0",
44+
"eslint-config-scratch": "^2.0.0",
4545
"eslint-plugin-react": "6.4.1",
4646
"gh-pages": "0.11.0",
4747
"html-webpack-plugin": "2.22.0",

0 commit comments

Comments
 (0)