I have two files which are siblings.
- index.js
- index.test.js
First is for source, second is the unit tests for first file.
I have a lot of eslint rules to check my sources. And I use some plugins to enhance thoses checks. Especially security-plugin.
It makes sense to check security into source code, but i don't mind for tests files. How can i disable into tests files only security rules?
I already have tried those but it's not working:
/* eslint-disable security */
/* eslint-disable security/* */
Any idea is welcomed. I just want to keep source and test files as siblings