mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2026-04-26 20:49:23 +00:00
27 lines
808 B
JavaScript
27 lines
808 B
JavaScript
module.exports = {
|
|
root: true,
|
|
env: { browser: true, es2020: true },
|
|
extends: [
|
|
'eslint:recommended',
|
|
'plugin:@typescript-eslint/recommended',
|
|
'plugin:react-hooks/recommended',
|
|
],
|
|
ignorePatterns: ['dist', '.eslintrc.cjs'],
|
|
parser: '@typescript-eslint/parser',
|
|
plugins: ['react-refresh'],
|
|
rules: {
|
|
'react-refresh/only-export-components': [
|
|
'off',
|
|
{ allowConstantExport: true },
|
|
],
|
|
'@typescript-eslint/no-unused-vars': 'off',
|
|
'no-unused-vars': 'off',
|
|
'@typescript-eslint/no-unused-vars': 'off',
|
|
'@typescript-eslint/no-explicit-any': 'off',
|
|
'@typescript-eslint/ban-ts-comment': 'off',
|
|
'@typescript-eslint/consistent-type-imports': 'off',
|
|
'@typescript-eslint/no-empty-function': 'off',
|
|
'react-hooks/exhaustive-deps': 'off',
|
|
},
|
|
};
|