All quizzes
Free quiz · 30 questions in the bank

ESLint quiz

Test your ESLint knowledge with a free interactive quiz — 30 questions with answers and explanations. No signup needed to play.

Question 1/12Score 0

What is the recommended division of responsibility between ESLint and Prettier?

In this round
  1. What is the recommended division of responsibility between ESLint and Prettier?
  2. Why is it good practice to leave a reason alongside an inline `eslint-disable` comment (e.g. "-- legacy SDK has no types")?
  3. What makes a rule "type-aware" in @typescript-eslint, as opposed to a plain syntax rule?
  4. Why does linting `.ts`/`.tsx` files require a different parser than ESLint's default?
  5. What is ESLint?
  6. What must `languageOptions.parserOptions.project` be set to for type-aware TypeScript rules to work?
  7. What does `eslint-config-prettier` do?
  8. A config declares `plugins: { react: reactPlugin }` and then sets a rule as `'react/jsx-key': 'error'`. What does the `react/` prefix indicate?
  9. In an ESLint rule setting like `'no-console': 'warn'`, what does the severity level control?
  10. What should a new project starting today generally use?
  11. Why are type-aware TypeScript ESLint rules noticeably slower than syntax-only rules?
  12. What is the risk of hand-picking every single rule from zero instead of starting from a shareable recommended config?
Gaps to close?
Read the curated ESLint notes — core concepts, patterns, interview prep.
ESLint notes

More quizzes

.NETAccessibilityAgile MethodologyAirflowAlertmanagerAlgorithms