eslint-plugin-component-name-first-letter-caps
v0.0.0
Published
Checks if first letter of jsx files is a capital letter
Downloads
1
Maintainers
Readme
eslint-plugin-component-name-first-letter-caps
Checks if first letter of jsx files is a capital letter
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-component-name-first-letter-caps
:
npm install eslint-plugin-component-name-first-letter-caps --save-dev
Usage
Add component-name-first-letter-caps
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"component-name-first-letter-caps"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"component-name-first-letter-caps/rule-name": 2
}
}
Rules
TODO: Run eslint-doc-generator to generate the rules list.