0.0.16 • Published 4 years ago
eslint-plugin-fruition v0.0.16
eslint-plugin-fruition
An ESLint plugin to preprocess fruition files before actual linting.
Features
- Enable the
await
keyword on$:
labels - Inject exported symbols on consecutive blocks
Requirements
- ESLint 6+
Installation
Install the plugin:
npm install --save-dev eslint-plugin-fruition
Then add fruition
to the plugins
array in your .eslintrc.*
config file.
For example:
{
"extends": [
"plugin:fruition/config"
]
}
This plugin performs some transformations using regular expressions on
.html
files before applyingeslint-plugin-html
.