@zanminkian/eslint-config

0.4.4 • Public • Published

@zanminkian/eslint-config

A strict eslint config for better code quality. Based on standard.js without any stylistic opinions.

Feature

  • Based on standard.js, but introduced more powerful rules to forbid stupid codes.
  • One-line of config.
  • Work well with Prettier without conflicts.
  • Designed to work with TypeScript, NestJS and React out-of-box.

Usage

Install

pnpm add -D eslint @zanminkian/eslint-config

Config eslint.config.js

import config from "@zanminkian/eslint-config";

export default config;

Config package.json

{
  "scripts": {
    "lint": "eslint .",
    "lint:fix": "eslint . --fix"
  }
}

License

MIT

Package Sidebar

Install

npm i @zanminkian/eslint-config

Weekly Downloads

2

Version

0.4.4

License

MIT

Unpacked Size

25.7 kB

Total Files

10

Last publish

Collaborators

  • zanminkian