Skip to content

Commit 7dffc3f

Browse files
authored
Merge pull request #67 from itsfadnis/fix/eslint
fix(eslint): ignore dist folder
2 parents 9b31b37 + fd8a65c commit 7dffc3f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.eslintrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@
88
"rules": {
99
// Place to specify ESLint rules. Can be used to overwrite rules specified from the extended configs
1010
// e.g. "@typescript-eslint/explicit-function-return-type": "off",
11-
}
11+
},
12+
"ignorePatterns": ["dist/"]
1213
}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"types": "dist/model.d.ts",
66
"scripts": {
77
"build": "tsc",
8-
"lint": "eslint src/*.ts --fix",
9-
"test": "eslint src/*.ts && jest && yarn build && bundlesize",
8+
"lint": "eslint **/*.ts --fix",
9+
"test": "eslint **/*.ts && jest && yarn build && bundlesize",
1010
"prepare": "yarn build"
1111
},
1212
"author": "Nikhil Fadnis",

0 commit comments

Comments
 (0)