Created
February 13, 2019 16:10
-
-
Save ebrett/3720fae50de4c38c92413e5222094dac to your computer and use it in GitHub Desktop.
Error message from running commit...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16:02 $ gs | |
On branch master | |
Your branch is up to date with 'origin/master'. | |
Changes to be committed: | |
(use "git reset HEAD <file>..." to unstage) | |
new file: frontend/init/index.css | |
new file: frontend/init/index.js | |
deleted: frontend/packs/application.css | |
modified: frontend/packs/application.js | |
✔ ~/learn/evil_chat [master|●4] | |
16:02 $ git commit -m 'Add init' | |
↓ Stashing changes... [skipped] | |
→ No partially staged files found... | |
❯ Running linters... | |
↓ Running tasks for config/webpack/**/*.js [skipped] | |
→ No staged files match config/webpack/**/*.js | |
✔ Running tasks for frontend/**/*.js | |
❯ Running tasks for frontend/**/*.css | |
✔ prettier --write | |
✖ eslint | |
git add | |
✖ eslint found some errors. Please fix them and try committing again. | |
/Users/brett/Learn/evil_chat/frontend/init/index.css | |
2:2 error Parsing error: Unexpected keyword 'import' | |
1 | /* frontend/init/index.css */ | |
> 2 | @import "normalize.css/normalize.css"; | |
| ^ | |
3 | | |
4 | body { | |
5 | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | |
✖ 1 problem (1 error, 0 warnings) | |
pre-commit: | |
pre-commit: We've failed to pass the specified git pre-commit hooks as the `lint-staged` | |
pre-commit: hook returned an exit code (1). If you're feeling adventurous you can | |
pre-commit: skip the git pre-commit hooks by adding the following flags to your commit: | |
pre-commit: | |
pre-commit: git commit -n (or --no-verify) | |
pre-commit: | |
pre-commit: This is ill-advised since the commit is broken. | |
pre-commit: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment