Skip to content

Commit

Permalink
fix: remove unncessary git add command #70 (#95)
Browse files Browse the repository at this point in the history
Signed-off-by: petetnt <pete.a.nykanen@gmail.com>
  • Loading branch information
petetnt authored Mar 7, 2024
1 parent 4085fab commit b68fa32
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ and the following in your `package.json`:
}
},
"lint-staged": {
"*.{js,json,graphql,md,css,scss,less,ts,tsx}": ["prettier --write", "git add"]
"*.{js,json,graphql,md,css,scss,less,ts,tsx}": ["prettier --write"]
}
}
```
Expand Down
4 changes: 4 additions & 0 deletions VERSIONS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Versions

## 15.0.1

- Removed unneccessary `git add`,

## 15.0.0

- *BREAKING* only shipping the `typescript` package from now on. If you want to use the old plain JavaScript version, install `eslint-config-motley@14.1.1`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const writeToPackageJson = async () => {

// Default configuration for lint-staged
const lintStaged = {
'*.{js,json,graphql,md,css,scss,less,ts,tsx}': ['prettier --write', 'git add'],
'*.{js,json,graphql,md,css,scss,less,ts,tsx}': ['prettier --write'],
};

// Set or update lint-staged configuration
Expand Down

0 comments on commit b68fa32

Please sign in to comment.