ESLint 4.2.0 contains a fix for a bug that is blocking us from moving to the non-legacy stricter indentation linting. Update to 4.2.0 to remove the blocking issue. Backport-PR-URL: https://github.com/nodejs/node/pull/14859 PR-URL: https://github.com/nodejs/node/pull/14155 Ref: https://github.com/eslint/eslint/issues/8882 Ref: https://github.com/eslint/eslint/pull/8885 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
32 lines
646 B
JavaScript
32 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': '_'
|
|
};
|