dao-governance-framework/forum-network/.eslintrc.js

30 lines
781 B
JavaScript
Raw Normal View History

module.exports = {
env: {
browser: true,
es2021: true,
},
2022-12-31 16:08:42 -06:00
extends: ['airbnb-base'],
2022-11-30 09:13:52 -06:00
overrides: [],
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
},
2022-12-31 16:08:42 -06:00
// plugins: ["import"],
rules: {
2022-12-31 16:08:42 -06:00
'import/extensions': ['error', 'always'],
'import/prefer-default-export': ['off'],
'import/no-unresolved': ['error', { ignore: ['^http'] }],
'no-unused-vars': ['error', { argsIgnorePattern: '^_' }],
'max-classes-per-file': ['off'],
'no-param-reassign': ['off'],
'no-plusplus': ['off'],
'no-restricted-syntax': ['off'],
'max-len': ['warn', 120],
'no-console': ['off'],
'no-return-assign': ['off'],
'no-multi-assign': ['off'],
'no-constant-condition': ['off'],
'no-await-in-loop': ['off'],
},
};