@gabortorma/moment-working-days-hu
Version:
[@gabortorma/moment-working-days](https://github.com/GaborTorma/moment-working-days) with updated hungarian holidays and forced business days.
45 lines (44 loc) • 813 B
JavaScript
module.exports = {
root: true,
env: {
node: true,
mocha: true,
},
parserOptions: {
sourceType: 'module',
ecmaVersion: 'latest',
},
extends: [
'eslint:recommended',
'plugin:prettier/recommended',
'plugin:mocha/recommended',
'plugin:chai-friendly/recommended',
],
rules: {
'no-unused-expressions': 'off',
curly: ['error', 'all'],
'comma-dangle': [
'error',
{
arrays: 'always-multiline',
exports: 'always-multiline',
imports: 'always-multiline',
objects: 'always-multiline',
functions: 'never',
},
],
'max-len': [
'error',
{
code: 100,
tabWidth: 2,
ignoreUrls: true,
ignoreStrings: true,
ignoreTemplateLiterals: true,
ignoreRegExpLiterals: true,
ignoreComments: true,
ignoreTrailingComments: true,
},
],
},
}