@antzy/eslint-config
v3.4.0
Published
AntzyMo ESLint config
Downloads
98
Readme
@antzy/eslint-config
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 */
}
})