puppeteer/src/.eslintrc.js
Jack Franklin f04bec5a15
chore: update eslint & eslint plugins (#6487)
Updates ESLint, the TypeScript ESLint plugins, and updates code where
the rules have changed.
2020-10-12 10:30:35 +01:00

20 lines
428 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,
},
};