docusaurus-plugin-eslint
v1.0.1
Published
Enables EslintWebpackPlugin for Docusaurus
Downloads
1
Readme
docusaurus-plugin-eslint
A plugin for enabling EslintWebpackPlugin in Docusaurus.
Installation
- Run
yarn install docusaurus-plugin-eslint
. - Set the
eslintPath
option to the desired ESLint instance (not ESLint configuration).
Usage
docusaurus.config.js
module.exports = {
plugins: [
[require.resolve('docusaurus-plugin-eslint'), {
eslintPath: require.resolve('eslint'),
// EslintWebpackPlugin options
}]
],
};