1. file manger 2. highlight for click input or output 3. selector of subtress 4. autocomplete for input or output
41 lines
1.2 KiB
JavaScript
41 lines
1.2 KiB
JavaScript
module.exports = {
|
|
extends: [
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/recommended",
|
|
|
|
// TODO
|
|
// "plugin:@typescript-eslint/recommended-type-checked",
|
|
],
|
|
plugins: ["@typescript-eslint", "@stylistic/js", "react-refresh"],
|
|
parser: "@typescript-eslint/parser",
|
|
rules: {
|
|
"@typescript-eslint/no-namespace": "off",
|
|
"@typescript-eslint/no-shadow": "error",
|
|
"react-refresh/only-export-components": "warn",
|
|
|
|
// TODO:
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
"@typescript-eslint/no-unused-vars": "off",
|
|
"@typescript-eslint/no-unsafe-assignment": "off",
|
|
"@typescript-eslint/no-unsafe-argument": "off",
|
|
"@typescript-eslint/no-floating-promises": "off",
|
|
|
|
// https://eslint.style/rules/js/lines-between-class-members
|
|
"@stylistic/js/lines-between-class-members": [
|
|
"error",
|
|
{
|
|
enforce: [
|
|
{ blankLine: "always", prev: "method", next: "method" },
|
|
{ blankLine: "always", prev: "field", next: "method" },
|
|
{ blankLine: "always", prev: "method", next: "field" },
|
|
],
|
|
},
|
|
],
|
|
},
|
|
parserOptions: {
|
|
project: true,
|
|
tsconfigRootDir: __dirname,
|
|
},
|
|
root: true,
|
|
};
|