Skip to content

Commit

Permalink
fix: remove getSource that is unused
Browse files Browse the repository at this point in the history
  • Loading branch information
azu committed Feb 23, 2023
1 parent f64cc28 commit 188d660
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/textlint-rule-max-comma.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const defaultOptions = {
};
export default function (context, options = defaultOptions) {
const maxComma = options.max || defaultOptions.max;
const { Syntax, RuleError, report, getSource } = context;
const { Syntax, RuleError, report } = context;
return {
[Syntax.Paragraph](node) {
const paragraphSentence = splitAST(node)
Expand Down

0 comments on commit 188d660

Please sign in to comment.