question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

yarn run lint:fix stopped working

See original GitHub issue

Observed behavior

(k012x)d@mac ~/P/l/r/k012x (guest) [1]> yarn run lint:fix
yarn run v1.12.3
$ yarn run lint -w
$ kolibri-tools lint -w
Kolibri CLI: Must specify files or glob patterns to lint!
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Expected behavior

lint the things

User-facing consequences

none

Context

develop


cc @rtibbles

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
rtibblescommented, Jan 14, 2019

You didn’t specify any files to lint Must specify files or glob patterns to lint!

If you want to lint and fix all files use yarn run lint-all:fix (see our discussion above).

0reactions
indirectlylitcommented, Jan 14, 2019

linting is improved, but yarn run lint:fix still seems to not work

> yarn run lint:fix
yarn run v1.12.3
$ yarn run lint -w
$ kolibri-tools lint -w
Kolibri CLI: Must specify files or glob patterns to lint!
error Command failed with exit code 1.
Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to run 'yarn run lint --fix` · Issue #832 · neutrinojs/neutrino
6.0 $ neutrino lint ⠋ Running lint/home/julian/cika-client/node_modules/neutrino/bin/execute.js:23 throw new Error(`A command with the name "${ ...
Read more >
Automatically fix lint problems only on a specific file
The solution works great, this is just a quick tip for yarn/mac users: yarn eslint --fix "src/ui/screens/HelloWorld.js".
Read more >
eslint lint fix Code Example - Code Grepper
Error: Unable to find TSLint. Ensure TSLint is installed. check if tslint is correct · "[tslint] Not using the local TSLint version found...
Read more >
eslint-config-sarpik - npm
Now you can manually lint your code by running yarn lint ( npm run lint ) and fix all fixable issues with yarn...
Read more >
npm ERR! Missing script: "lint" [Solved] | bobbyhadz
If you have a lint command in the scripts object in your package.json file, make sure you are opening your IDE and shell...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found