dgf-prototype/ethereum/.eslintrc.cjs

26 lines
598 B
JavaScript

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',
{
devDependencies: ['hardhat.config.js', 'test/**', 'scripts/**'],
optionalDependencies: false,
peerDependencies: false,
},
],
'no-console': 0,
},
};