2.0.2 • Published 2 years ago

@fz6m/eslint-plugin-sakina v2.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@fz6m/eslint-plugin-sakina

Sakina eslint config rules for quick use.

Install

  pnpm add -D @fz6m/eslint-plugin-sakina

Initial

  npx sakina-lint init

Scene

normal
// .eslintrc.js
module.exports = {
  extends: ['plugin:@fz6m/sakina/recommended']
}
react
// .eslintrc.js
module.exports = {
  extends: ['plugin:@fz6m/sakina/react']
}
v1.x version

You need add the eslint patch setup require to the beginning of the eslint config file.

// .eslintrc.js
require('@fz6m/eslint-plugin-sakina/setup')

// ...