dgf-prototype/ethereum/.eslintrc.cjs

26 lines
583 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',
],
ignorePatterns: ['hardhat.config.js'],
parserOptions: { ecmaVersion: 'latest', sourceType: 'module' },
settings: { react: { version: '18.2' } },
plugins: [
'chai-friendly',
],
rules: {
'import/no-extraneous-dependencies': [
'error',
{
devDependencies: ['test/**'],
optionalDependencies: false,
peerDependencies: false,
},
],
},
};