@rainetian/lint
v0.1.6
Published
Stylelint config, ESLint config, Prettier config for fewismuch
Downloads
19
Maintainers
Readme
@rainetian/lint
Stylelint config, ESlint config, Prettier config for fewismuch
Installation
npm i @rainetian/lint --save-dev
pnpm i @rainetian/lint --save-dev
yarn add @rainetian/lint -D
Usage
Create a new .npmrc
file (if it doesn't exist) and add the following:
lockfile=false
resolution-mode=highest
public-hoist-pattern[]=*changelog*
public-hoist-pattern[]=*commitlint*
public-hoist-pattern[]=*eslint*
public-hoist-pattern[]=*postcss*
public-hoist-pattern[]=*prettier*
public-hoist-pattern[]=*stylelint*
stylelint
in .stylelintrc.js
module.exports = require("@rainetian/lint").stylelint
eslint
in .eslintrc.js
module.exports = require('@rainetian/lint').eslint
prettier
in .prettierrc.js
module.exports = require('@rainetian/lint').prettier