Skip to content

Thanks to @antfu/eslint-config, because of it, creating code formats that suit our style has become much easier.

License

Notifications You must be signed in to change notification settings

AntzyMo/eslint-config

Repository files navigation

@antzy/eslint-config

English | 中文

Thanks to @antfu/eslint-config, because of it, creating code formats that suit our style has become much easier.

Usage

Tips: If you don't want to manually install, here is a quick installation method. Just enter one command to save the hassle of repetitive configuration operations.

Manual Install

pnpm add eslint -D
pnpm add @antzy/eslint-config -D

Config eslint.config.js

With "type": "module" in package.json (recommended):

import { antzy } from '@antfu/eslint-config'

export default antzy({
  rules:{
     /* your stylistic rules */
  }
})

With CJS:

const { antzy } = require('@antfu/eslint-config')

module.exports = antzy({
  rules:{
     /* your stylistic rules */
  }
})

License

MIT License © 2023-PRESENT AntzyMo

About

Thanks to @antfu/eslint-config, because of it, creating code formats that suit our style has become much easier.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published