mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-11 08:43:59 +03:00
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:
parent
a12b3e6bbe
commit
405603d530
@ -37,6 +37,12 @@ module.exports = {
|
||||
]]
|
||||
}
|
||||
},
|
||||
{
|
||||
files: 'core/server/api/**/utils/validators/**/index.js',
|
||||
rules: {
|
||||
'max-lines': ['off']
|
||||
}
|
||||
},
|
||||
/**
|
||||
* @TODO: enable these soon
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user