yanranxiaoxi / eslint-plugin-jlc

Custom eslint rules for jlc an jlc eda.

Home Page:https://www.npmjs.com/package/eslint-plugin-jlc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

TODO: Run eslint-doc-generator to generate the configs list (or delete this section if no configs are offered).

Rules

Name Description
comments-need-space comments need space
prefer-template-literal prefer template literal

About

Custom eslint rules for jlc an jlc eda.

https://www.npmjs.com/package/eslint-plugin-jlc


Languages

Language:JavaScript 100.0%