dgf-prototype/ethereum/.eslintrc.cjs

26 lines
598 B
JavaScript
Raw Normal View History

2024-03-05 21:21:27 -06:00
module.exports = {
root: true,
env: { browser: true, es2020: true, mocha: true },
extends: [
'eslint:recommended',
'airbnb',
'plugin:chai-friendly/recommended',
],
parserOptions: { ecmaVersion: 'latest', sourceType: 'module' },
settings: { react: { version: '18.2' } },
plugins: [
'chai-friendly',
],
rules: {
'import/no-extraneous-dependencies': [
'error',
{
2024-03-10 11:55:59 -05:00
devDependencies: ['hardhat.config.js', 'test/**', 'scripts/**'],
2024-03-05 21:21:27 -06:00
optionalDependencies: false,
peerDependencies: false,
},
],
2024-03-06 16:50:59 -06:00
'no-console': 0,
2024-03-05 21:21:27 -06:00
},
};