Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
eslint-config-unjs
Advanced tools
eslint-config-unjs
Sharable ESLint config preset for usage across unjs repositories.
✅ Includes:
[!NOTE] This preset uses the new ESLint flat config.
Install dependencies:
npx nypm install -D eslint typescript eslint-config-unjs
Create eslint.config.mjs
in your project root:
import unjs from "eslint-config-unjs";
export default unjs({
ignores: [
// ignore paths
],
rules: {
// rule overrides
},
markdown: {
rules: {
// markdown rule overrides
},
},
});
Tips:
rules
are auto generated using antfu/eslint-typegen
.MIT
FAQs
ESLint config for unjs projects
The npm package eslint-config-unjs receives a total of 1,587 weekly downloads. As such, eslint-config-unjs popularity was classified as popular.
We found that eslint-config-unjs demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.