mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-12 21:23:45 +01:00
Merge pull request #2059 from overleaf/spd-no-console
Don't allow 'console.log' in backend code GitOrigin-RevId: f52413b574487eef54e8bd27cc61d15a011beb6f
This commit is contained in:
committed by
sharelatex
parent
5b458e32ac
commit
c8140f9641
@@ -78,6 +78,13 @@
|
||||
// based on mocha's context mechanism
|
||||
"mocha/prefer-arrow-callback": "error"
|
||||
}
|
||||
},
|
||||
{
|
||||
// don't allow console.log in backend code
|
||||
"files": ["**/app/*/src/**/*.js"],
|
||||
"rules": {
|
||||
"no-console": "error"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user