I want ESLint to ignore my "views" folder and create an .eslintignore file in the project root directory for that.
Inside, I've added the folder I want to ignore:
/views
But it is not working (should some configurations need to be added in package.json?).
I don't want to use /* eslint-disable */
at the top of the file that needs to be ignored.
您的.eslintignore
放在/views
,您需要将其移动到/
。
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.