reimplement the editor use lastest antd and other libs, feature of this commit:
1. file manger 2. highlight for click input or output 3. selector of subtress 4. autocomplete for input or output
This commit is contained in:
1 parent
91da6f0071
commit
2e5c08b2ad
84 files changed
+14250
-11038
No files matched your search
@@ -0,0 +1,40 @@
|
||||
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,
|
||||
};
|
||||
Reference in new issue
Block a user