video.js
Зеркало из https://github.com/videojs/video.js
/
.remarkrc.js
84 строки · 2.8 Кб
1var remarkrc = {2settings: {3bullet: '*',4fence: '`',5strong: '*',6emphasis: '_',7listItemIndent: 1,8incrementListMarker: false9},10plugins: {11'toc': {12tight: true13},14}15};16var args = process.argv;17
18// only lint in non-output mode
19if (args.indexOf('-o') === -1 && args.indexOf('--output') === -1) {20remarkrc['validate-links'] = {};21remarkrc.plugins.lint = {22'blockquote-indentation': ['error', 2],23'checkbox-character-style': ['warn'],24'checkbox-content-indent': ['error'],25'code-block-style': ['error', 'fenced'],26'definition-case': ['off'],27'definition-spacing': ['error'],28'emphasis-marker': ['error', '_'],29'fenced-code-flag': ['error'],30'fenced-code-marker': ['error', '`'],31'file-extension': ['error'],32'final-definition': ['error'],33'final-newline': ['off'],34'first-heading-level': ['warn', 1],35'hard-break-spaces': ['off'],36'heading-increment': ['error'],37'heading-style': ['error', 'atx'],38'link-title-style': ['warn', '"'],39'list-item-bullet-indent': ['error'],40'list-item-content-indent': ['warn'],41'list-item-indent': ['error', 'space'],42'list-item-spacing': ['off'],43'maximum-heading-length': ['off'],44'maximum-line-length': ['off'],45'no-auto-link-without-protocol': ['error'],46'no-blockquote-without-caret': ['error'],47'no-consecutive-blank-lines': ['error'],48'no-duplicate-definitions': ['error'],49'no-duplicate-headings-in-section': ['error'],50'no-duplicate-headings': ['off'],51'no-emphasis-as-heading': ['error'],52'no-file-name-articles': ['off'],53'no-file-name-consecutive-dashes': ['off'],54'no-file-name-irregular-characters': ['warn', '\\.a-zA-Z0-9-_'],55'no-file-name-mixed-case': ['error'],56'no-file-name-outer-dashes': ['error'],57'no-heading-content-indent': ['error'],58'no-heading-indent': ['error'],59'no-heading-punctuation': ['off'],60'no-html': ['off'],61'no-inline-padding': ['error'],62'no-literal-urls': ['off'],63'no-missing-blank-lines': ['off'],64'no-multiple-toplevel-headings': ['error'],65'no-reference-like-url': ['error'],66'no-shell-dollars': ['error'],67'no-shortcut-reference-iamge': ['off'],68'no-shortcut-reference-link': ['off'],69'no-table-indentation': ['error'],70'no-tabs': ['error'],71'no-undefined-references': ['error'],72'no-unused-definitions': ['error'],73'ordered-list-marker-style': ['error', '.'],74'ordered-list-marker-value': ['error', 'one'],75'rule-style': ['error', '***'],76'strong-marker': ['error', '*'],77'table-cell-padding': ['warn', 'padded'],78'table-cell-alignment': ['warn'],79'table-pipes': ['warn'],80'unordered-list-marker-style': ['warn', '*']81};82}
83
84module.exports = remarkrc;85