I've read all the rules provided by ESLint , but I can't find how to check max count of lines of a js file.
Say, I want to limit js files from having more than 100 lines.
Does ESLint provide this feature? how can I do it with ESLint?
据我所知,在ESLint
中没有检查行数的选项,但是有npm软件包eslint-rules
那里有选项no-long-files
您可以尝试使用它。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.