mirror of
https://github.com/Qortal/q-tube.git
synced 2025-02-11 17:55:51 +00:00
19 lines
616 B
JavaScript
19 lines
616 B
JavaScript
module.exports = {
|
|
env: { browser: true, amd: true, node: 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",
|
|
"@typescript-eslint/no-unused-vars": "warn",
|
|
"@typescript-eslint/no-unused-expressions": "off",
|
|
"@typescript-eslint/ban-ts-comment": "off",
|
|
},
|
|
};
|