UNPKG

tuain-dbpool-generic

Version:

Database pool interface to perform standard database operations as part of the Tuain Application Development Framework

45 lines (44 loc) 1.06 kB
module.exports = { env: { browser: true, commonjs: true, es2021: true, }, extends: [ 'airbnb-base', ], parserOptions: { ecmaVersion: 12, }, rules: { 'consistent-return': 'off', 'no-plusplus': 0, 'no-continue': 0, radix: 0, 'no-underscore-dangle': 0, 'no-await-in-loop': 0, 'no-use-before-define': 0, 'no-param-reassign': 0, 'max-len': ['error', 120, 2, { ignoreUrls: true, ignoreComments: true, ignoreRegExpLiterals: true, ignoreStrings: true, ignoreTemplateLiterals: true, }], 'object-property-newline': ['error', { allowAllPropertiesOnSameLine: true, }], 'object-curly-newline': ['error', { ObjectPattern: { multiline: true }, ImportDeclaration: 'never', ExportDeclaration: { multiline: true, minProperties: 3 }, }], 'lines-between-class-members': ['error', 'always', { exceptAfterSingleLine: true, }], 'arrow-parens': ['error', 'as-needed', { requireForBlockBody: true, }], }, };