About 50 results
Open links in new tab
  1. Turning off an ESLint rule for a specific line - Stack Overflow

    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 protocol.

  2. 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

  3. Ignore or prevent ESLint errors from breaking the build in a React ...

    Jan 14, 2018 · I've recently created a project with create-react-project. The problem is that, while I'm developing, every time there's a problem with ESLint, the build breaks and doesn't compile the code. …

  4. ESLint error - ESLint couldn't find the config "react-app"

    If ESLint is not able to find the react-app config, there are likely conflicting or duplicate ESLint config dependencies that were installed outside of react-scripts (i.e. another eslint-config-react-app …

  5. ESLint Rule to Warn on Typescript's erasableSyntaxOnly flag

    Feb 15, 2025 · So I wanted a ESLint rule that can warn me when using invalid syntax so I can do a incremental removal of this syntax before enabling the flag in tsconfig. What is the ESLint rule for this?

  6. 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.

  7. 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 in the …

  8. eslint complains about typescript's path aliasing

    Jul 15, 2019 · eslint complains: Unable to resolve path to module '@api' However, intelisense in vscode seems fine. Its able to give code prediction and "Jump to declaration" which is a clue that my …

  9. 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 JavaScripts …

  10. How to run eslint --fix from npm script - Stack Overflow

    To add a new separate script to auto-fix the linting issues for files with extensions .js and .jsx, you may add the add the script in your package.json as below: "lint:fix": "eslint --fix --ext .js,.jsx ." So after …