Skip to content
This repository has been archived by the owner on Jul 6, 2019. It is now read-only.
/ standard-react Public archive

JavaScript Standard Style for React Users

License

Notifications You must be signed in to change notification settings

feross/standard-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

standard-react

travis npm downloads

DEPRECATED

This package (standard-react) is DEPRECATED. Supporting standard already takes a ton of time. Supporting a fork isn't worth the effort, especially since this gets less than 200 downloads per month, half of which are probably bots. There are only a handful of extra rules this package provides anyway...

v3.0.0 will be the last version of this package. It corresponds to the v8.0.0 release of standard.

If someone wants to become the new maintainer, send me an email.

For React users

standard v6 removed React-specific linting rules (see: standard/#351, standard/#367, and eslint-config-standard-react/#13) to make standard usable for folks who use React alternatives like virtual-dom or deku.

JSX is still supported in standard and React users are still encouraged to the main standard package. But if you want the old behavior back, with React-specific rules, you can use standard-react.

The extra rules come from eslint-config-standard-react.

Install

npm install standard-react

Rules

See Rules

Usage

See Usage.

Badge

Use this in one of your projects? Include one of these badges in your readme to let people know that your code is using the standard style.

js-standard-style

[![js-standard-style](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard)

js-standard-style

[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/)

License

MIT. Copyright (c) Feross Aboukhadijeh.

About

JavaScript Standard Style for React Users

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published