mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
* install eslint-plugin-markdown * add doc/.eslintrc.yaml * add `<!-- eslint-disable rule -->` or `<!-- eslint-disable -->` for the rest of problematic code * .js files in doc folder added to .eslintignore * update Makefile and vcbuild.bat PR-URL: https://github.com/nodejs/node/pull/12563 Refs: https://github.com/nodejs/node/pull/12557#issuecomment-296015032 Reviewed-By: Teddy Katz <teddy.katz@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
33 lines
646 B
JavaScript
33 lines
646 B
JavaScript
/**
|
|
* @author Titus Wormer
|
|
* @copyright 2015-2016 Titus Wormer
|
|
* @license MIT
|
|
* @module remark:stringify:defaults
|
|
* @fileoverview Default options for `stringify`.
|
|
*/
|
|
|
|
'use strict';
|
|
|
|
/* eslint-env commonjs */
|
|
|
|
module.exports = {
|
|
'gfm': true,
|
|
'commonmark': false,
|
|
'pedantic': false,
|
|
'entities': 'false',
|
|
'setext': false,
|
|
'closeAtx': false,
|
|
'looseTable': false,
|
|
'spacedTable': true,
|
|
'incrementListMarker': true,
|
|
'fences': false,
|
|
'fence': '`',
|
|
'bullet': '-',
|
|
'listItemIndent': 'tab',
|
|
'rule': '*',
|
|
'ruleSpaces': true,
|
|
'ruleRepetition': 3,
|
|
'strong': '*',
|
|
'emphasis': '_'
|
|
};
|