protocol/assets/.eslintrc.js

24 строки
537 B
JavaScript

module.exports = {
env: {
'browser': true,
'node': false,
'commonjs': false,
'es2017': false
},
extends: [
'eslint:recommended'
],
rules: {
// Require strict mode directive in top level functions
// https://eslint.org/docs/rules/strict
'strict': ['error', 'function'],
// Require `let` or `const` instead of `var`
// https://eslint.org/docs/rules/no-var
'no-var': 'off',
},
globals: {
'Mzp': 'writable'
}
};