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

34 lines
839 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',
},
2023-01-17 18:00:41 -06:00
plugins: [
'import',
'html',
],
rules: {
2022-12-31 16:08:42 -06:00
'import/extensions': ['error', 'always'],
'import/prefer-default-export': ['off'],
'import/no-unresolved': ['error', { ignore: ['^http'] }],
2023-01-17 18:00:41 -06:00
'import/no-absolute-path': ['off'],
2022-12-31 16:08:42 -06:00
'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'],
},
};