Open chunyulo-code opened 8 months ago
I have do a test.
Make a test.js
:
//before
// autocorrect: false
render: productCourses => productCourses.map(courseCode => courses.nameMap[courseCode]).join('、'),
// autocorrect: true
And then run autocorrect --lint test.js
there is no output.
Please tell me your filename.
AutoCorrect is used the extension name to match for format type. The ignoror syntax is following the comment syntax of the format type.
So if your file not a .js
or .ts
, for example a .md
or .txt
, then AutoCorrect will regard it as a Markdown or PlainText, so the //
is not a comment syntax in Markdown or PlainText, so the autocorrect: false
will not work.
When hit
save
, the、
symbol becomes,
symbol, and this lineautocorrect: false
doesn't work. Did I miss something?AutoCorrectVersion:v2.6.4