dgf-prototype/backend/.eslintrc.cjs

21 lines
434 B
JavaScript
Raw Permalink Normal View History

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