.rej files
See original GitHub issueIn some cases, which I haven’t figured out yet, when running hooks, it creates a .rej file. And I’m sure it’s something with the library because before implementing it, never created these files.
package:
"husky": {
"hooks": {
"pre-commit": "ng lint --fix && lint-staged"
}
}
my config
{
"**/*.{ts,js,json,css,scss}": [
"./node_modules/.bin/prettier '**/*.{ts,js,json,css,scss}' '.prettierignore*/{__name__,__directory__}/**' --write",
"git add"
]
}
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
What are .rej files which are created during merge
What are .rej files which are created during merge · They are rejection files, describing "failing" merges; you certainly need to look into...
Read more >REJ File Extension - What is it? How to open a REJ file?
REJ files mostly belong to Git rejected files. REJ files are rejected files (usually hunks patches but not only), describing "failing" merges; you...
Read more >REJ File - What is it and how do I open it?
The REJ file extension indicates to your device which app can open the file. However, different programs may use the REJ file type...
Read more >How To Open File With REJ Extension?
REJ is a file extension commonly associated with Mercurial Reject files. REJ file format is compatible with software that can be installed on...
Read more >File extension REJ - Simple tips how to open the REJ file.
The first part of the task has already been done – the software supporting the REJ file can be found in the table....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
v10.0.0
was just released and it should no longer create .rej files.Be aware that those files were created in a case where there was an unmergeable conflict between unstaged changes and what the linter tasks modified.
v10
retries this with a 3-way merge so it should work a bit better, but it’s still possible to fail. In this casev10
will simply revert to the pre-commit state from a backup (git stash).I would be thankful for a reproducible test case for the .rej files. This would help test for differences in behaviour between v9 and v10. 😃