From 550ddde6aa79d985506534f3f3a12c5469a464c0 Mon Sep 17 00:00:00 2001 From: devgioele Date: Thu, 16 Feb 2023 08:51:28 +0100 Subject: [PATCH] cache eslint work --- .gitignore | 5 ++++- package.json | 15 ++++----------- 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index 7d9ed6251..0c0c2c9ad 100644 --- a/.gitignore +++ b/.gitignore @@ -8,4 +8,7 @@ # Project /package-lock.json /node_modules -/dist \ No newline at end of file +/dist + +# ESLint +.eslintcache \ No newline at end of file diff --git a/package.json b/package.json index e694bb25c..e407aa0d0 100644 --- a/package.json +++ b/package.json @@ -11,8 +11,8 @@ "build": "tsc", "clear": "rm -rf src/*", "generate": "node generator.js", - "lint": "eslint --ext js,ts,tsx src ./generator.js", - "lint:fix": "npm run lint -- --fix", + "lint": "eslint --cache --ext js,ts,tsx src ./generator.js", + "lint:fix": "npm run lint -- --cache --fix", "typecheck": "tsc --noEmit", "test": "jest --config jestconfig.json --passWithNoTests", "prepare": "npm run build", @@ -20,11 +20,7 @@ "version": "npm run test && npm run lint && git add -A src", "postversion": "git push && git push --tags" }, - "keywords": [ - "material design", - "icons", - "react" - ], + "keywords": ["material design", "icons", "react"], "private": false, "author": "AboutBits", "license": "MIT", @@ -32,10 +28,7 @@ "type": "git", "url": "git+https://github.com/aboutbits/react-material-icons" }, - "files": [ - "readme.md", - "dist/**/*" - ], + "files": ["readme.md", "dist/**/*"], "publishConfig": { "access": "public" },