mirror of
https://github.com/remarkjs/remark-lint.git
synced 2024-10-26 19:31:42 +03:00
014fca79e0
Closes GH-276.
26 lines
857 B
JavaScript
26 lines
857 B
JavaScript
import remarkPresetLintRecommended from './packages/remark-preset-lint-recommended/index.js'
|
|
import remarkPresetLintConsistent from './packages/remark-preset-lint-consistent/index.js'
|
|
import remarkToc from 'remark-toc'
|
|
import remarkCommentConfig from 'remark-comment-config'
|
|
import remarkGfm from 'remark-gfm'
|
|
import remarkGithub from 'remark-github'
|
|
import remarkValidateLinks from 'remark-validate-links'
|
|
import listOfPresets from './script/plugin/list-of-presets.js'
|
|
import listOfRules from './script/plugin/list-of-rules.js'
|
|
|
|
const plugins = [
|
|
remarkPresetLintRecommended,
|
|
remarkPresetLintConsistent,
|
|
[remarkToc, {tight: true, maxDepth: 3, heading: 'contents'}],
|
|
remarkCommentConfig,
|
|
[remarkGfm, {tablePipeAlign: false}],
|
|
remarkGithub,
|
|
remarkValidateLinks,
|
|
listOfPresets,
|
|
listOfRules
|
|
]
|
|
|
|
const preset = {plugins}
|
|
|
|
export default preset
|