@fast-crud/editor-code 1.25.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.js +79 -0
- package/.prettierrc +5 -0
- package/CHANGELOG.md +945 -0
- package/dist/d/editor/components/fs-editor-code/validators.d.ts +10 -0
- package/dist/d/editor/components/fs-editor-code/worker/index.d.ts +9 -0
- package/dist/d/editor/components/fs-editor-code/worker/yaml.worker.d.ts +1 -0
- package/dist/d/editor/components/fs-editor-code/workers.d.ts +9 -0
- package/dist/d/editor/exports.d.ts +3 -0
- package/dist/d/editor/index.d.ts +4 -0
- package/dist/d/editor/index.umd.d.ts +4 -0
- package/dist/d/editor/type/index.d.ts +4 -0
- package/dist/d/editor/type/types.d.ts +12 -0
- package/dist/d/index.d.ts +1 -0
- package/dist/d/index.umd.d.ts +1 -0
- package/dist/editor-code.mjs +9 -0
- package/dist/editor-code.mjs.map +1 -0
- package/dist/editor-code.umd.js +2 -0
- package/dist/editor-code.umd.js.map +1 -0
- package/dist/index-4cfdb04c.mjs +132 -0
- package/dist/index-4cfdb04c.mjs.map +1 -0
- package/dist/index-c2ddaf47.mjs +97 -0
- package/dist/index-c2ddaf47.mjs.map +1 -0
- package/dist/style.css +1 -0
- package/index.d.ts +1 -0
- package/index.js +1 -0
- package/package.json +84 -0
- package/src/editor/components/fs-editor-code/async-import.ts +19 -0
- package/src/editor/components/fs-editor-code/index.vue +240 -0
- package/src/editor/components/fs-editor-code/validators.ts +37 -0
- package/src/editor/components/fs-editor-code/worker/index.ts +64 -0
- package/src/editor/components/fs-editor-code/worker/yaml.worker.ts +1 -0
- package/src/editor/components/fs-editor-code/workers.ts +45 -0
- package/src/editor/exports.ts +3 -0
- package/src/editor/index.umd.ts +17 -0
- package/src/editor/type/types.ts +7 -0
- package/src/index.umd.ts +1 -0
- package/src/style.css +1 -0
- package/tsconfig.json +49 -0
- package/vite.config.js +125 -0
package/.eslintrc.js
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
root: true,
|
|
3
|
+
env: {
|
|
4
|
+
browser: true,
|
|
5
|
+
node: true,
|
|
6
|
+
es6: true
|
|
7
|
+
},
|
|
8
|
+
parser: "vue-eslint-parser",
|
|
9
|
+
parserOptions: {
|
|
10
|
+
parser: "@typescript-eslint/parser",
|
|
11
|
+
ecmaVersion: 2020,
|
|
12
|
+
sourceType: "module",
|
|
13
|
+
jsxPragma: "React",
|
|
14
|
+
ecmaFeatures: {
|
|
15
|
+
jsx: true,
|
|
16
|
+
tsx: true
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
extends: [
|
|
20
|
+
"plugin:vue/vue3-recommended",
|
|
21
|
+
"plugin:@typescript-eslint/recommended",
|
|
22
|
+
"plugin:prettier/recommended",
|
|
23
|
+
"prettier"
|
|
24
|
+
],
|
|
25
|
+
rules: {
|
|
26
|
+
"@typescript-eslint/no-unused-vars": "off",
|
|
27
|
+
"@typescript-eslint/ban-ts-ignore": "off",
|
|
28
|
+
"@typescript-eslint/explicit-function-return-type": "off",
|
|
29
|
+
"@typescript-eslint/no-explicit-any": "off",
|
|
30
|
+
"@typescript-eslint/no-implicitly-any": "off",
|
|
31
|
+
"@typescript-eslint/no-var-requires": "off",
|
|
32
|
+
"@typescript-eslint/no-empty-function": "off",
|
|
33
|
+
"@typescript-eslint/no-use-before-define": "off",
|
|
34
|
+
"@typescript-eslint/ban-ts-comment": "off",
|
|
35
|
+
"@typescript-eslint/ban-types": "off",
|
|
36
|
+
"@typescript-eslint/no-non-null-assertion": "off",
|
|
37
|
+
"@typescript-eslint/explicit-module-boundary-types": "off"
|
|
38
|
+
|
|
39
|
+
// "@typescript-eslint/no-unused-vars": [
|
|
40
|
+
// "error",
|
|
41
|
+
// {
|
|
42
|
+
// argsIgnorePattern: "^h$",
|
|
43
|
+
// varsIgnorePattern: "^h$"
|
|
44
|
+
// }
|
|
45
|
+
// ],
|
|
46
|
+
// "vue/custom-event-name-casing": "off",
|
|
47
|
+
// "no-use-before-define": "off",
|
|
48
|
+
// "no-unused-vars": [
|
|
49
|
+
// "error",
|
|
50
|
+
// {
|
|
51
|
+
// argsIgnorePattern: "^h$",
|
|
52
|
+
// varsIgnorePattern: "^h$"
|
|
53
|
+
// }
|
|
54
|
+
// ],
|
|
55
|
+
// "space-before-function-paren": "off",
|
|
56
|
+
//
|
|
57
|
+
// "vue/attributes-order": "off",
|
|
58
|
+
// "vue/one-component-per-file": "off",
|
|
59
|
+
// "vue/html-closing-bracket-newline": "off",
|
|
60
|
+
// "vue/max-attributes-per-line": "off",
|
|
61
|
+
// "vue/multiline-html-element-content-newline": "off",
|
|
62
|
+
// "vue/singleline-html-element-content-newline": "off",
|
|
63
|
+
// "vue/attribute-hyphenation": "off",
|
|
64
|
+
// // 'vue/html-self-closing': 'off',
|
|
65
|
+
// "vue/require-default-prop": "off",
|
|
66
|
+
// "vue/html-self-closing": [
|
|
67
|
+
// "error",
|
|
68
|
+
// {
|
|
69
|
+
// html: {
|
|
70
|
+
// void: "always",
|
|
71
|
+
// normal: "never",
|
|
72
|
+
// component: "always"
|
|
73
|
+
// },
|
|
74
|
+
// svg: "always",
|
|
75
|
+
// math: "always"
|
|
76
|
+
// }
|
|
77
|
+
// ]
|
|
78
|
+
}
|
|
79
|
+
};
|