0.0.4 • Published 2 years ago

eslint-plugin-nonoptimal-innerhtml v0.0.4

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

eslint-plugin-nonoptimal-innerhtml

Don't use innerHTML inside loops.

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-nonoptimal-innerhtml:

npm install eslint-plugin-nonoptimal-innerhtml --save-dev

Usage

Add nonoptimal-innerhtml to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
  "plugins": ["nonoptimal-innerhtml"]
}

Then configure the rules you want to use under the rules section.

{
  "rules": {
    "nonoptimal-innerhtml/nonoptimal-innerhtml": "warn"
  }
}
0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago

1.0.0

2 years ago