1.0.20-dev • Published 1 year ago

eslint-plugin-component v1.0.20-dev

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

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 eslint

Next, install eslint-plugin-component:

npm install -D eslint-plugin-component
#OR
yarn add -D eslint-plugin-component
#OR
pnpm add -D eslint-plugin-component

Usage

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

RuleDescription
component/jsx-pascal-in-componentChange the first letter of the component to uppercase if it is lowercase.
component/number-easy-readEnforce number literals for readability.
component/constantsEnforce capital letters in constant variable names.

Contributing

We welcome contribution from everyone in the community. Read below for detailed contribution guide.

CONTRIBUTING

1.0.20-dev

1 year ago

1.0.17-stage

1 year ago

1.0.17

1 year ago

1.0.19-stage

1 year ago

1.0.17-dev

1 year 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

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago