From 0cfd4004e1125fa6a7b9c4c7edecbb2f7eb916ef Mon Sep 17 00:00:00 2001 From: Robin Harrison Date: Fri, 18 Oct 2024 16:43:38 +0100 Subject: [PATCH] Update dotfile configuration to remove yarn --- .gitignore | 13 ------------- .lintstagedrc | 2 +- .pre-commit-config.yaml | 2 -- .prettierignore | 3 +-- 4 files changed, 2 insertions(+), 18 deletions(-) diff --git a/.gitignore b/.gitignore index 7825ccab..39ee8bdf 100644 --- a/.gitignore +++ b/.gitignore @@ -2,8 +2,6 @@ logs *.log npm-debug.log* -yarn-debug.log* -yarn-error.log* lerna-debug.log* # Diagnostic reports (https://nodejs.org/api/report.html) @@ -66,8 +64,6 @@ typings/ # Output of 'npm pack' *.tgz -# Yarn Integrity file -.yarn-integrity # dotenv environment variables file .env @@ -104,14 +100,5 @@ dist # TernJS port file .tern-port -# Yarn -.pnp.* -.yarn/* -!.yarn/patches -!.yarn/plugins -!.yarn/releases -!.yarn/sdks -!.yarn/versions - # IDE files .idea diff --git a/.lintstagedrc b/.lintstagedrc index 8d042140..e3b73c43 100644 --- a/.lintstagedrc +++ b/.lintstagedrc @@ -1,3 +1,3 @@ { - "*.js": ["yarn lint", "prettier --write"] + "*.js": ["npm run lint", "prettier --write"] } diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f751dcec..783a7d59 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,10 +9,8 @@ repos: - id: check-case-conflict - id: detect-private-key - id: end-of-file-fixer - exclude: .yarn - id: no-commit-to-branch - id: trailing-whitespace - exclude: .yarn - repo: https://github.com/Yelp/detect-secrets rev: v1.4.0 hooks: diff --git a/.prettierignore b/.prettierignore index eae8b57d..4334a67e 100644 --- a/.prettierignore +++ b/.prettierignore @@ -3,5 +3,4 @@ coverage .nyc_output src/views/**/*.html src/assets/scss/** -yarn.lock -.yarn/** +package-lock.json