Detalhes do pacote

browserslist-lint

browserslist7kMIT0.3.3

Linter for Browserslist config

caniuse, browsers, target

readme (leia-me)

Browserslist Lint

Browserslist logo by Anton Popov

Check your Browserslist config with target browsers for popular mistakes.

npx browserslist-lint

Or try online: browsersl.ist

Rules:

  • missedNotDead: lack of no dead with queries like last 2 versions.
  • countryWasIgnored: bad coverage in some country with >10M Internet users.
  • limitedBrowsers: ignoring browsers diversity by calling only a few browsers directly in config.
  • alreadyDead: browser with not is already in not dead or defaults.

Sponsored by Evil Martians

Docs

Read full docs here.

changelog (log de mudanças)

Change Log

This project adheres to Semantic Versioning.

0.3.3

  • Fixed popularity auto-fix (by Alexander Chabin)

0.3.2

  • Fixed limitedBrowsers auto-fix.

0.3.1

  • Fixed popularity auto-fix (by Ilya Fakhrutdinov).

0.3

  • Added fixed queries to JS API (by Sergey Vinogorov).

0.2.1

  • Fixed alreadyDead for non-standard browser names.

0.2

  • Added alreadyDead rule.

0.1.1

  • Fixed countryWasIgnored for Node.js versions (by Alexander Chabin).

0.1

  • Initial release (by Dan Onoshko).