0.5.0 • Published 1 year ago

@fckff/linter v0.5.0

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

@fckff / Standard Linter

Standard linter library for your projects

Contents

Install

Install via npm

npm install -D @fckff/linter

Install via pnpm

pnpm add -D @fckff/linter

Usage

ESLint

  1. Create a .eslintrc.cjs file in the root directory of the project
  2. Importing files from libraries
// import settings
const eslint = module.require('@fckff/linter/eslint');
// set config
module.exports = eslint();
  1. Setting up ESLint in the IDE

Prettier

  1. Create a .prettierrc.cjs file in the root directory of the project
  2. Importing files from libraries
// import settings
const prettier = module.require('@fckff/linter/prettier');
// set config
module.exports = prettier;

License

LICENSE.md

❤ Thanks for patron me