mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05: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
1 changed files with 6 additions and 0 deletions
|
@ -37,6 +37,12 @@ module.exports = {
|
|||
]]
|
||||
}
|
||||
},
|
||||
{
|
||||
files: 'core/server/api/**/utils/validators/**/index.js',
|
||||
rules: {
|
||||
'max-lines': ['off']
|
||||
}
|
||||
},
|
||||
/**
|
||||
* @TODO: enable these soon
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue