Rules
Every rule from ESLint, Oxlint and Biome. Pick a rule to see its example. Reach is the weekly npm downloads of the presets that enable a rule; trend is its change over the last quarter.
Every rule from ESLint, Oxlint and Biome. Pick a rule to see its example. Reach is the weekly npm downloads of the presets that enable a rule; trend is its change over the last quarter.
The documentation shows no incorrect example for this rule.
import foo from './foo'
// assuming 'node_modules' are ignored (true by default)
import someModule from 'some-module'Popular · 1 of 8
Ensure a default export is present, given a default import.
The documentation shows no incorrect example for this rule.
import foo from './foo'
// assuming 'node_modules' are ignored (true by default)
import someModule from 'some-module'