Skip to content

Commit c792c94

Browse files
authored
Merge pull request #10 from udaypydi/feature/lint-specific-files
avoid test files linting
2 parents 3768562 + 925fe96 commit c792c94

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.eslintignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
node_modules/
2-
build
2+
build
3+
src/**/*.spec.js

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"scripts": {
77
"build": "webpack ---config ./config/webpack.prod.config.js",
88
"dev": "webpack-dev-server --config ./config/webpack.dev.config.js",
9-
"lint": "./node_modules/.bin/eslint src/*.jsx",
9+
"lint": "./node_modules/.bin/eslint --ext .js,.jsx src/",
1010
"test": "jest"
1111
},
1212
"keywords": [

0 commit comments

Comments
 (0)