Skip to content

Commit 07ebd08

Browse files
feat: add recommendations for ESLint command usage
1 parent bd16b1c commit 07ebd08

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

scripts/check_modules.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,14 @@ def check_modules():
204204
"name": "It looks like a package is loaded via CDN. It would be better if the package were installed locally via npm.",
205205
"category": "Recommendation",
206206
},
207+
"eslint .": {
208+
"name": "The period at the end of the command is not necessary since v9. It is recommended to remove it.",
209+
"category": "Recommendation",
210+
},
211+
"eslint --fix .": {
212+
"name": "The period at the end of the command is not necessary since v9. It is recommended to remove it.",
213+
"category": "Recommendation",
214+
},
207215
}
208216

209217
search_strings_package_json = {

0 commit comments

Comments
 (0)