mirror of
https://github.com/Qortal/q-tube.git
synced 2025-02-11 17:55:51 +00:00
.eslintrc renamed to cjs to fix error when using ESLint Max file size is now global variable that coverts file size to binary byte format automatically. Many small EsLint fixes. Fixed no key warning in MultiplePublishAll.tsx
16 lines
440 B
JavaScript
16 lines
440 B
JavaScript
module.exports = {
|
|
env: { browser: true, es2020: true },
|
|
extends: [
|
|
'eslint:recommended',
|
|
'plugin:@typescript-eslint/recommended',
|
|
'plugin:react-hooks/recommended',
|
|
],
|
|
parser: '@typescript-eslint/parser',
|
|
parserOptions: { ecmaVersion: 'latest', sourceType: 'module' },
|
|
plugins: ['react-refresh'],
|
|
rules: {
|
|
'react-refresh/only-export-components': 'warn',
|
|
'@typescript-eslint/no-explicit-any': "off",
|
|
},
|
|
}
|