Skip to content

config of eslint + prettier, without add any other dependenies

Notifications You must be signed in to change notification settings

leftstick/react-coding-style

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-coding-style

For lazy person like me, have pre-defined react project config of eslint + prettier installed together with their dependenies.

Usage

Install:

$ yarn add --dev react-coding-style

Edit .eslintrc.js

const style = require('react-coding-style')

module.exports = style.tslint

Edit .prettierrc.js

const style = require('react-coding-style')

module.exports = style.prettier

About

config of eslint + prettier, without add any other dependenies

Resources

Stars

Watchers

Forks

Packages

No packages published