Skip to content

Commit

Permalink
feat: eslint now respect .gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait committed Apr 26, 2019
1 parent 064deeb commit 148a5eb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
4 changes: 0 additions & 4 deletions .eslintignore

This file was deleted.

5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
},
"homepage": "https://github.com/webpack-contrib/webpack-defaults",
"bugs": "https://github.com/webpack-contrib/webpack-defaults/issues",
"bin": {
"webpack-defaults": "bin/index.js"
},
"main": "dist/cjs.js",
"engines": {
"node": ">= 6.9.0"
Expand All @@ -23,7 +20,7 @@
"build": "cross-env NODE_ENV=production babel src -d dist --ignore 'src/**/*.test.js' --copy-files",
"clean": "del-cli dist",
"commitlint": "commitlint --from=master",
"lint": "eslint --cache src test",
"lint": "eslint --cache src test --ignore-path .gitignore",
"prepare": "npm run build",
"release": "standard-version",
"security": "npm audit",
Expand Down
2 changes: 1 addition & 1 deletion src/tasks/package.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ module.exports = () => {
"cross-env NODE_ENV=production babel src -d dist --ignore 'src/**/*.test.js' --copy-files",
clean: 'del-cli dist',
commitlint: 'commitlint --from=master',
lint: 'eslint --cache src test',
lint: 'eslint --cache src test --ignore-path .gitignore',
prepare: 'npm run build',
release: 'standard-version',
security: 'npm audit',
Expand Down

0 comments on commit 148a5eb

Please sign in to comment.