UNPKG

opendocx-node

Version:

OpenDocx document assembly for Node.js

31 lines (30 loc) 643 B
module.exports = { extends: [ 'standard', 'eslint:recommended', ], env: { commonjs: true, es6: true, node: true, mocha: true, }, parserOptions: { ecmaVersion: 2018, ecmaFeatures: { experimentalObjectRestSpread: true, }, }, globals: { }, rules: { 'comma-dangle': ['error', 'only-multiline'], 'dot-notation': 'off', 'operator-linebreak': 'off', //[ 'error', 'before' ], 'no-multi-spaces': 'off', 'indent': [ 'error', 2, { 'SwitchCase': 1 } ], 'linebreak-style': [ 'error', 'unix' ], 'no-multi-spaces': 'off', 'max-len': [ 'warn', { 'code': 120} ] } }