Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✖ eslint --fix [FAILED] #6

Open
dzintars opened this issue Sep 1, 2020 · 0 comments
Open

✖ eslint --fix [FAILED] #6

dzintars opened this issue Sep 1, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@dzintars
Copy link
Collaborator

dzintars commented Sep 1, 2020

Missing ESLint config file

As i generate more complex type definitions, ESLint failed.
Most likely i will need to exclude .d.ts file linting as they will not comply with common linting rules.

» git commit -m "fix(modules): add req/res example messages"
husky > pre-commit (node v14.9.0)
⚠ Some of your tasks use `git add` command. Please remove it from the config since all modifications made by tasks will be automatically added to the git commit index.

✔ Preparing...
⚠ Running tasks...
  ✔ Running tasks for *.{ts,html,md}
  ❯ Running tasks for *.ts
    ✖ eslint --fix [FAILED]
    ◼ git add
  ↓ No staged files match .*{rc,.json} [SKIPPED]
↓ Skipped because of errors from tasks. [SKIPPED]
✔ Reverting to original state because of errors...
✔ Cleaning up... 

✖ eslint --fix:

Oops! Something went wrong! :(

ESLint: 7.7.0

ESLint couldn't find a configuration file. To set up a configuration file for this project, please run:

    eslint --init

ESLint looked for configuration files in /home/dzintars/code/github.com/oswee/api/oswee/module/stubs/v1 and its ancestors. If it found none, it then looked in your home directory.

If you think you already have a configuration file or if you need more help, please stop by the ESLint chat room: https://eslint.org/chat/help

husky > pre-commit hook failed (add --no-verify to bypass)
@dzintars dzintars added the bug Something isn't working label Sep 1, 2020
@dzintars dzintars self-assigned this Sep 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant