2017-06-11 08:32:59 +00:00
|
|
|
module.exports = {
|
2020-10-12 09:30:35 +00:00
|
|
|
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,
|
|
|
|
},
|
2017-06-11 08:32:59 +00:00
|
|
|
};
|