Home

Awesome

Browserslist Lint

<img width="120" height="120" alt="Browserslist logo by Anton Popov" src="https://browsersl.ist/logo.svg" align="right">

Check your Browserslist config with target browsers for popular mistakes.

npx browserslist-lint

Or try online: browsersl.ist

Rules:

<a href="https://evilmartians.com/?utm_source=browserslist-lint"> <img src="https://evilmartians.com/badges/sponsored-by-evil-martians.svg" alt="Sponsored by Evil Martians" width="236" height="54"> </a>

JS API

import { lint } from 'browserslist-lint'

lint('defaults, not ie 11') // => [{
                            //      id: 'alreadyDead',
                            //      message: '`not ie 11` already in `defaults`'
                            //      fixed: 'defaults'
                            //    }]

// Without option with find Browserslist automatically
lint() // => [{ id, message, fixed }]