@@ -2,14 +2,16 @@ const fs = require('fs');
22const path = require ( 'path' ) ;
33const process = require ( 'process' ) ;
44
5- const textlintPluginMarkdown = require ( "@textlint/textlint-plugin-markdown" ) . default ;
6- const textLintFilterRuleComments = require ( "textlint-filter-rule-comments" ) ;
7- const textLintRuleCommonMisspellings = require ( "textlint-rule-common-misspellings" ) . default ;
8- const textLintRuleDoubledSpaces = require ( "textlint-rule-doubled-spaces" ) . default ;
9- const textLintRuleMaxComma = require ( "textlint-rule-max-comma" ) . default ;
10- const textLintRuleNoEmptySection = require ( "textlint-rule-no-empty-section" ) ;
11- const textLintRuleNoTodo = require ( "textlint-rule-no-todo" ) . default ;
12- const textLintRuleNoZeroWidthSpaces = require ( "textlint-rule-no-zero-width-spaces" ) . default ;
5+ /* eslint-disable import/no-unresolved -- False positive, they are in the package.json. */
6+ const textlintPluginMarkdown = require ( '@textlint/textlint-plugin-markdown' ) . default ;
7+ const textLintFilterRuleComments = require ( 'textlint-filter-rule-comments' ) ;
8+ const textLintRuleCommonMisspellings = require ( 'textlint-rule-common-misspellings' ) . default ;
9+ const textLintRuleDoubledSpaces = require ( 'textlint-rule-doubled-spaces' ) . default ;
10+ const textLintRuleMaxComma = require ( 'textlint-rule-max-comma' ) . default ;
11+ const textLintRuleNoEmptySection = require ( 'textlint-rule-no-empty-section' ) ;
12+ const textLintRuleNoTodo = require ( 'textlint-rule-no-todo' ) . default ;
13+ const textLintRuleNoZeroWidthSpaces = require ( 'textlint-rule-no-zero-width-spaces' ) . default ;
14+ /* eslint-enable import/no-unresolved */
1315
1416const findRecursively = require ( './find-recursively' ) ;
1517const { handleErrorObject, handleWarningObject } = require ( './handle-error' ) ;
@@ -109,7 +111,7 @@ function newTextlintKernelOptions(config) {
109111 ...config ,
110112 plugins : [
111113 {
112- pluginId : " markdown" ,
114+ pluginId : ' markdown' ,
113115 plugin : textlintPluginMarkdown ,
114116 }
115117 ] ,
0 commit comments