chore: enforce strict mode for CJS files

This commit is contained in:
Julien Fontanet
2022-02-22 12:29:26 +01:00
parent b3d0da7392
commit 72ff66ebde
171 changed files with 336 additions and 12 deletions

View File

@@ -1,3 +1,5 @@
'use strict'
module.exports = {
extends: ['plugin:eslint-comments/recommended', 'standard', 'standard-jsx', 'prettier'],
globals: {
@@ -45,5 +47,7 @@ module.exports = {
'lines-between-class-members': 'off',
'no-console': ['error', { allow: ['warn', 'error'] }],
strict: 'error',
},
}