0.5.0 • Published 1 year ago
@fckff/linter v0.5.0
@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
- Create a
.eslintrc.cjs
file in the root directory of the project - Importing files from libraries
// import settings
const eslint = module.require('@fckff/linter/eslint');
// set config
module.exports = eslint();
- Setting up ESLint in the IDE
Prettier
- Create a
.prettierrc.cjs
file in the root directory of the project - Importing files from libraries
// import settings
const prettier = module.require('@fckff/linter/prettier');
// set config
module.exports = prettier;
License
❤ Thanks for patron me ❤
0.5.0
1 year ago