Enabled restricted require rule for core/server
- we're now so close to having the server not require anything from the frontend... so close - having these last few problems be visible is motivating - should be able to upgrade it to an error soooon!
This commit is contained in:
parent
2d0b5c872f
commit
df14789861
@ -60,7 +60,7 @@ module.exports = {
|
||||
{
|
||||
files: 'core/server/**',
|
||||
rules: {
|
||||
'ghost/node/no-restricted-require': ['off', [
|
||||
'ghost/node/no-restricted-require': ['warn', [
|
||||
{
|
||||
// Throw an error for all requires of the frontend, _except_ the url service which will be moved soon
|
||||
name: [path.resolve(__dirname, 'core/frontend/**')],
|
||||
|
Loading…
Reference in New Issue
Block a user