mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
1f51384918
This patch introduces eslint and fixes multiple minor code style issues.
17 lines
446 B
JavaScript
17 lines
446 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": {
|
|
"no-console": [2, { "allow": ["warn", "error", "assert", "timeStamp", "time", "timeEnd"] }],
|
|
"no-debugger": 0,
|
|
}
|
|
};
|