From c0a0ea66a67a4770564d817ab343c7a5382eef39 Mon Sep 17 00:00:00 2001 From: Mastermindzh Date: Mon, 8 Aug 2022 14:48:59 +0200 Subject: [PATCH] eslint now receives the glob itself --- .husky/pre-commit | 1 + CHANGELOG.md | 4 ++++ package-lock.json | 4 ++-- package.json | 4 ++-- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index 654eeea..daa309a 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -2,5 +2,6 @@ . "$(dirname -- "$0")/_/husky.sh" npm run lint-staged +npm run lint npm run test-ci npm run e2e-ci diff --git a/CHANGELOG.md b/CHANGELOG.md index f2c9148..1515a63 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.6.1] - 2022-08-08 + +- eslint now receives the glob itself + ## [0.6.0] - 2022-08-08 - Added styled components diff --git a/package-lock.json b/package-lock.json index 24f21a0..cfddb35 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "react-starter-kit", - "version": "0.6.0", + "version": "0.6.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "react-starter-kit", - "version": "0.6.0", + "version": "0.6.1", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 001fde2..b24c164 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-starter-kit", - "version": "0.6.0", + "version": "0.6.1", "description": "A modern, create-react-app-based, starter kit for React projects", "keywords": [ "react", @@ -30,7 +30,7 @@ "e2e": "cypress open -d --e2e", "e2e-ci": "start-server-and-test start http://localhost:3000 cypress-run", "postinstall": "husky install", - "lint": "GLOBIGNORE='src/types' && eslint src/**", + "lint": "eslint \"src/**\"", "lint-staged": "lint-staged --relative", "organize-package-json": "npx format-package -w && npx sort-package-json", "pretty-quick": "pretty-quick --staged",