mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
add 'use strict'; to examples (#530)
This patch: - adds 'use strict'; to examples - enforces 'use strict' in examples with .eslintrc.js
This commit is contained in:
committed by
Andrey Lushnikov
parent
0791774faa
commit
60ace82875
@@ -11,5 +11,6 @@ module.exports = {
|
||||
*/
|
||||
"rules": {
|
||||
"indent": [2, 2, { "SwitchCase": 1, "CallExpression": {"arguments": 2}, "MemberExpression": 2, "outerIIFEBody": 0 }],
|
||||
"strict": [2, "global"],
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user