Skip to content
/ lint Public

Stylelint config, ESlint config, Prettier config for fewismuch

License

Notifications You must be signed in to change notification settings

fewismuch/lint

Repository files navigation

@rainetian/lint

NPM version

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

About

Stylelint config, ESlint config, Prettier config for fewismuch

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published