1.0.20-dev • Published 2 years ago
eslint-plugin-component v1.0.20-dev
eslint-plugin-component
This open source library is developed to improve the developer's experience. 😆
Installation
You'll first need to install ESLint:
npm i -D eslint
#OR
yarn add -D eslint
#OR
pnpm add -D eslintNext, install eslint-plugin-component:
npm install -D eslint-plugin-component
#OR
yarn add -D eslint-plugin-component
#OR
pnpm add -D eslint-plugin-componentUsage
This plugin only works in the components folder path.
Add component to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": ["component"]
}Rules
| Rule | Description |
|---|---|
| component/jsx-pascal-in-component | Change the first letter of the component to uppercase if it is lowercase. |
| component/number-easy-read | Enforce number literals for readability. |
| component/constants | Enforce capital letters in constant variable names. |
Contributing
We welcome contribution from everyone in the community. Read below for detailed contribution guide.
1.0.20-dev
2 years ago
1.0.17-stage
2 years ago
1.0.17
2 years ago
1.0.19-stage
2 years ago
1.0.17-dev
2 years ago
1.0.16
2 years ago
1.0.9
2 years ago
1.0.8
2 years ago
1.0.7
2 years ago
1.0.11
2 years ago
1.0.10
2 years ago
1.0.15
2 years ago
1.0.14
2 years ago
1.0.13
2 years ago
1.0.12
2 years ago
1.0.6
3 years ago
1.0.5
3 years ago
1.0.4
3 years ago
1.0.3
3 years ago
1.0.2
3 years ago
1.0.1
3 years ago
1.0.0
3 years ago