eslint-plugin-less-unsound
v0.0.67
Published
An ESLint config for a smaller, less unsound subset of TypeScript.
Downloads
146
Maintainers
Readme
eslint-plugin-less-unsound
An ESLint config for a smaller, less unsound subset of TypeScript.
Installation
# npm
npm install --save-dev eslint eslint-plugin-less-unsound
# pnpm
pnpm add --save-dev eslint eslint-plugin-less-unsound
# yarn
yarn add --dev eslint eslint-plugin-less-unsound
# bun
bun add --dev eslint eslint-plugin-less-unsoundUsage
Create the eslint.config.mjs:
// eslint.config.mjs
export { recommended as default } from "eslint-plugin-less-unsound";Then, use npx eslint . for checks and npx eslint . --fix to check and fix what can be auto-fixed.
ESLint 9
For an ESLint 9 project that uses .eslintrc.cjs, set:
// .eslintrc.cjs
module.exports = {
root: true,
extends: ["plugin:less-unsound/legacy-recommended"],
};Use it with ESLINT_USE_FLAT_CONFIG=false variable set, otherwise ESLint will look for the newer configuration.
More details
See the motivation, complete rule coverage, and other details in the main README.md.
