Skip to content

Commit

Permalink
fix(init): make *.jsx files ESLint's target (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
ybiquitous authored Oct 10, 2017
1 parent b3c1270 commit 8a6899f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"test": "nyc mocha",
"test:watch": "mocha --watch",
"test:coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
"lint:js": "eslint --max-warnings=-1 --ignore-path=.gitignore .",
"lint:js": "eslint --max-warnings=-1 --ignore-path=.gitignore --ext=.js --ext=.jsx .",
"lint:js:fix": "npm run lint:js -- --fix",
"lint:md": "markdownlint *.md",
"lint": "npm-run-all --parallel lint:*",
Expand Down
2 changes: 1 addition & 1 deletion test/init.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ suite('init', () => {

assert.deepStrictEqual(pkg.scripts, {
commitmsg: 'commitlint -e',
'lint:js': 'eslint --max-warnings=-1 --ignore-path=.gitignore .',
'lint:js': 'eslint --max-warnings=-1 --ignore-path=.gitignore --ext=.js --ext=.jsx .',
'lint:js:fix': 'npm run lint:js -- --fix',
'lint:md': 'markdownlint *.md',
lint: 'npm-run-all --parallel lint:*',
Expand Down

0 comments on commit 8a6899f

Please sign in to comment.