0.0.16 • Published 5 years ago
eslint-plugin-fruition v0.0.16
eslint-plugin-fruition
An ESLint plugin to preprocess fruition files before actual linting.
Features
- Enable the
awaitkeyword on$:labels - Inject exported symbols on consecutive blocks
Requirements
- ESLint 6+
Installation
Install the plugin:
npm install --save-dev eslint-plugin-fruitionThen 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
.htmlfiles before applyingeslint-plugin-html.