eslint-config-soraka
v0.1.0
Published
eslint and prettier config
Downloads
13
Readme
eslint-config-soraka
react项目eslint规则,需要预装prettier,eslint, typescript
Use
install
npm i eslint-config-soraka --save-dev
yarn add eslint-config-soraka -D
or
npm i eslint-config-soraka prettier eslint typescript --save-dev
yarn add eslint-config-soraka prettier eslint typescript -D
in .eslintrc.js
module.exports = {
extends: ['soraka'],
globals: {
// your globals
},
rules: {
// your rules
},
};