dgf-prototype/backend/.eslintrc.cjs

21 lines
434 B
JavaScript

module.exports = {
root: true,
env: { es2020: true, mocha: true },
extends: [
'eslint:recommended',
'airbnb',
],
parserOptions: { ecmaVersion: 'latest', sourceType: 'module' },
rules: {
'no-console': 'off',
'import/no-extraneous-dependencies': [
'error',
{
devDependencies: ['**/*.test.js'],
optionalDependencies: false,
peerDependencies: false,
},
],
},
};