Stylelint config, ESlint config, Prettier config for fewismuch
npm i @rainetian/lint --save-dev
pnpm i @rainetian/lint --save-dev
yarn add @rainetian/lint -D
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*
in .stylelintrc.js
module.exports = require("@rainetian/lint").stylelint
in .eslintrc.js
module.exports = require('@rainetian/lint').eslint
in .prettierrc.js
module.exports = require('@rainetian/lint').prettier