0.0.8 ⢠Published 11 months ago
eslint-plugin-jlc v0.0.8
eslint-plugin-jlc
Preferences of eslint for jlc and jlc eda
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-jlc
:
npm install eslint-plugin-jlc --save-dev
Usage
Add jlc
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": ["jlc"]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"jlc/comments-need-space": 2
}
}
Configurations
Name | |
---|---|
ā | recommended |
Rules
š¼ Configurations enabled in.\
ā
Set in the recommended
configuration.
Name | Description | š¼ |
---|---|---|
always-camel-case | Always camel case every thing | ā |
comments-need-space | comments need space | ā |
kebab-case | kebab case your file name and directory name. | ā |
no-then | No then with promise | ā |
prefer-template-literal | prefer template literal | ā |