@rainetian/lint
TypeScript icon, indicating that this package has built-in type declarations

0.1.6 • Public • Published

@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

Package Sidebar

Install

npm i @rainetian/lint

Weekly Downloads

3

Version

0.1.6

License

MIT

Unpacked Size

17.9 kB

Total Files

12

Last publish

Collaborators

  • fewismuch