storybook/.remarkrc.js

26 lines
460 B
JavaScript

module.exports = {
plugins: [
'remark-preset-lint-recommended',
['remark-lint-list-item-indent', false],
[
'remark-lint-code',
{
js: {
module: 'node_modules/remark-lint-code-eslint',
options: {
fix: true,
configFile: '.eslintrc-markdown.js',
},
},
},
],
[
'remark-toc',
{
tight: true,
maxDepth: 3,
},
],
],
};