TextlintEditor.js:59 TypeError: Cannot read property 'fixer' of undefined
at Object.hasFixer (rule-creator-helper.js:41)
at DescriptorsFactory.js:14
at Array.map (<anonymous>)
at Object../node_modules/@textlint/kernel/lib/kernel/src/descriptor/DescriptorsFactory.js.exports.createTextlintRuleDescriptors (DescriptorsFactory.js:13)
at new TextlintKernelDescriptor (TextlintKernelDescriptor.js:18)
at textlint-kernel.js:70
(anonymous) @ TextlintEditor.js:59
TextlintEditor.js:72 TypeError: Cannot read property 'fixer' of undefined
at Object.hasFixer (rule-creator-helper.js:41)
at DescriptorsFactory.js:14
at Array.map (<anonymous>)
at Object../node_modules/@textlint/kernel/lib/kernel/src/descriptor/DescriptorsFactory.js.exports.createTextlintRuleDescriptors (DescriptorsFactory.js:13)
at new TextlintKernelDescriptor (TextlintKernelDescriptor.js:18)
at textlint-kernel.js:70
I tried to add new rule (e.g. textlint-rule-no-mix-dearu-desumasu) to
defaultRuleList.js
, not working at playground.Steps
yarn add textlint-rule-no-mix-dearu-desumas
defaultRuleList.js
Code
Error