summaryrefslogtreecommitdiffstats
path: root/.eslintrc.js
diff options
context:
space:
mode:
Diffstat (limited to '.eslintrc.js')
-rw-r--r--.eslintrc.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/.eslintrc.js b/.eslintrc.js
index 31213019..7839ef54 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -34,6 +34,10 @@ module.exports = {
// tabs only
indent: ['error', 'tab'],
'no-tabs': 0,
+ // only debug console
+ 'no-console': ['error', { 'allow': ['debug'] }],
+ // classes blocks
+ 'padded-blocks': ['error', { 'classes': 'always' }],
// es6 import/export and require
'node/no-unpublished-require': ['off'],
'node/no-unsupported-features': ['off'],