3
0
mirror of https://github.com/Qortal/q-tube.git synced 2025-02-11 17:55:51 +00:00
q-tube/.eslintrc.cjs

19 lines
616 B
JavaScript
Raw Normal View History

2023-12-08 14:00:33 -05:00
module.exports = {
env: { browser: true, amd: true, node: true, es2020: true },
2023-12-08 14:00:33 -05:00
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react-hooks/recommended",
2023-12-08 14:00:33 -05:00
],
parser: "@typescript-eslint/parser",
parserOptions: { ecmaVersion: "latest", sourceType: "module" },
plugins: ["react-refresh"],
2023-12-08 14:00:33 -05:00
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",
2023-12-08 14:00:33 -05:00
},
};