mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
60ace82875
This patch: - adds 'use strict'; to examples - enforces 'use strict' in examples with .eslintrc.js
17 lines
478 B
JavaScript
17 lines
478 B
JavaScript
module.exports = {
|
|
"extends": "../.eslintrc.js",
|
|
/**
|
|
* ESLint rules
|
|
*
|
|
* All available rules: http://eslint.org/docs/rules/
|
|
*
|
|
* Rules take the following form:
|
|
* "rule-name", [severity, { opts }]
|
|
* Severity: 2 == error, 1 == warning, 0 == off.
|
|
*/
|
|
"rules": {
|
|
"indent": [2, 2, { "SwitchCase": 1, "CallExpression": {"arguments": 2}, "MemberExpression": 2, "outerIIFEBody": 0 }],
|
|
"strict": [2, "global"],
|
|
}
|
|
};
|