Skip to content

Commit 550ddde

Browse files
author
devgioele
committed
cache eslint work
1 parent 793e64c commit 550ddde

2 files changed

Lines changed: 8 additions & 12 deletions

File tree

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,7 @@
88
# Project
99
/package-lock.json
1010
/node_modules
11-
/dist
11+
/dist
12+
13+
# ESLint
14+
.eslintcache

package.json

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,31 +11,24 @@
1111
"build": "tsc",
1212
"clear": "rm -rf src/*",
1313
"generate": "node generator.js",
14-
"lint": "eslint --ext js,ts,tsx src ./generator.js",
15-
"lint:fix": "npm run lint -- --fix",
14+
"lint": "eslint --cache --ext js,ts,tsx src ./generator.js",
15+
"lint:fix": "npm run lint -- --cache --fix",
1616
"typecheck": "tsc --noEmit",
1717
"test": "jest --config jestconfig.json --passWithNoTests",
1818
"prepare": "npm run build",
1919
"prepublishOnly": "npm run test && npm run lint",
2020
"version": "npm run test && npm run lint && git add -A src",
2121
"postversion": "git push && git push --tags"
2222
},
23-
"keywords": [
24-
"material design",
25-
"icons",
26-
"react"
27-
],
23+
"keywords": ["material design", "icons", "react"],
2824
"private": false,
2925
"author": "AboutBits",
3026
"license": "MIT",
3127
"repository": {
3228
"type": "git",
3329
"url": "git+https://github.com/aboutbits/react-material-icons"
3430
},
35-
"files": [
36-
"readme.md",
37-
"dist/**/*"
38-
],
31+
"files": ["readme.md", "dist/**/*"],
3932
"publishConfig": {
4033
"access": "public"
4134
},

0 commit comments

Comments
 (0)