About 9,580,000 results
Open links in new tab
  1. How to ignore all files using eslint config file? - Stack Overflow

    Jan 29, 2025 · All that being said, ESLint is a very useful tool that many people -including the React team (rules of hooks)- recommend using. By removing it, you remove a layer of bug …

  2. Turning off eslint rule for a specific file - Stack Overflow

    Jan 13, 2016 · For anyone else confused by the comments, /* eslint-disable no-use-before-define */ is definitely a correct answer which disables a specific rule for the whole file. Notice the edits …

  3. Change the configuration file location of ESLint in VSCode

    Oct 29, 2024 · The docs also suggest that when calling eslint from the command line, the --config argument can be used to manually set the path to the configuration file. I want the equivalent …

  4. javascript - What's the difference between prettier-eslint, eslint ...

    Jun 22, 2017 · Use eslint-plugin-prettier to run Prettier as an Eslint-rule. See 1st line in readme: eslint-plugin-prettier Use both to take advantage of both tools. See recommended …

  5. javascript - ESLint not working in VS Code? - Stack Overflow

    ESLint is not working for me in VS Code. I have the plugin installed in VS Code, and ESLint itself as a developer dependency in my package.json, which I have installed as well. I modified the …

  6. How do you fix ESLint Parsing error: Unexpected token error

    Unexpected token errors in ESLint parsing occur due to incompatibility between your development environment and ESLint's current parsing capabilities with the ongoing changes with …

  7. ESLint: 8.0.0 Failed to load plugin '@typescript-eslint'

    Oct 10, 2021 · TypeError: Failed to load plugin '@typescript-eslint' declared in 'src.eslintrc': Class extends value undefined is not a constructor or null Referenced from: src.eslintrc

  8. Why do I keep getting "[eslint] Delete `CR` [prettier/prettier]"?

    The same solution mentioned in several answers above, with a twist: Put it in the eslint.config.mjs` (extension can also be js or whatever you are using for eslint.config.

  9. Disable ESLint rules for folder - Stack Overflow

    Feb 15, 2017 · Is there a way to disable specific rules for a folder? For example, I don't want to have required JSDoc comments for all my test files in the test folder. Is there a way to do this?

  10. Turning off eslint rule for a specific line - Stack Overflow

    Jan 1, 2015 · I enjoy // eslint-disable-line to allow me to insert console for a quick inspection of a service, without my development environment holding me back because of the breach of …