An open API service indexing awesome lists of open source software.

https://github.com/luhis/tslint-luhis


https://github.com/luhis/tslint-luhis

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# tslint-luhis

## Background

Whist working on a React higher order component library I ran into an issue where it created components that functioned correctly, but behaved less than perfectly when inspected in debug mode with the React Dev Tools. This is easily fixed, but it leaves with code that is more verbose than some would normally write. This package contains a rule to cover that instance to ensure that names are given to React components.

## Installing

`npm install tslint-luhis --save-dev`

Then add the ruleset to your tslint.json configuration:

`"extends": [
"tslint:recommended",
"tslint-luhis"
],`