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.

Add tests for extending ESLint

See original GitHub issue

This is a good first PR!

We should add some tests to cover #7036. They should cover both JavaScript and TypeScript support.

They can probably be added to test/fixtures.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:1
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
kartik-budhirajacommented, Jul 8, 2020

Hey @danangan, feel free to take over the PR if you want, I am still stuck at the same issue. If you can get it solved, go for it!!

1reaction
kartik-budhirajacommented, Oct 13, 2019

@ianschmitz I created a PR #7816, it covers tests for javascript. For typescript, all typescript tests suits fail with this error: Failed to load parser '@typescript-eslint/parser declared in 'BaseConfig >> /Users/......./create-react-app/packages/eslint-config-react-app/index.js#overrides[0]': Cannot find module 'typescript' Can you please help me out here?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unit Tests - ESLint - Pluggable JavaScript Linter
A pluggable and configurable linter tool for identifying and reporting on patterns in JavaScript. Maintain your code quality with ease.
Read more >
How to Test Your ESLint Config | Robin writes < code | prose
Finally, adding eslint __eslinttests__ --report-unused-disable-directives as an NPM script called test:eslintConfig means you can create another ...
Read more >
How to use ESLint with Jest - Stack Overflow
For Yarn yarn add eslint-plugin-jest -D # For NPM npm i ... You could add a .eslintrc.yml file in your __tests__ folders, that...
Read more >
eslint-plugin-testing-library - npm
npm install --save-dev eslint-plugin-testing-library # or $ yarn add ... Just do this instead { extends: ['plugin:testing-library/react'], } ...
Read more >
Next.js Setup | ESLint Jest React Testing Library and Absolute ...
ESLint : Install & Configure · extends sets up a set of base rules to use as a starting point. · env tells...
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