Skip to content

Commit

Permalink
Update dotfile configuration to remove yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
merlinc committed Oct 18, 2024
1 parent 12c6c66 commit 11ec4c1
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 18 deletions.
13 changes: 0 additions & 13 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -66,8 +64,6 @@ typings/
# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
Expand Down Expand Up @@ -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
2 changes: 1 addition & 1 deletion .lintstagedrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"*.js": ["yarn lint", "prettier --write"]
"*.js": ["npm run lint", "prettier --write"]
}
2 changes: 0 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 1 addition & 2 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ coverage
.nyc_output
src/views/**/*.html
src/assets/scss/**
yarn.lock
.yarn/**
package-lock.json

0 comments on commit 11ec4c1

Please sign in to comment.