Fixed liniting error for validators' index.js files

refs f0242baf9f

- The index.js files in "input validators" are exposing an API and not doing anything else so these cases can be safely ignored
- Ideally we'd have a solution which would export all modules in the folder without having to add any more declarations, but that's for another time!
This commit is contained in:
Naz 2021-11-08 16:43:16 +04:00
parent a12b3e6bbe
commit 405603d530

View File

@ -37,6 +37,12 @@ module.exports = {
]] ]]
} }
}, },
{
files: 'core/server/api/**/utils/validators/**/index.js',
rules: {
'max-lines': ['off']
}
},
/** /**
* @TODO: enable these soon * @TODO: enable these soon
*/ */