@tmagic/eslint-config 0.0.1 → 0.0.3
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/LICENSE +1 -1
- package/flat/import-sort.mjs +1 -1
- package/index.mjs +0 -2
- package/package.json +11 -12
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Tencent is pleased to support the open source community by making TMagicEditor available.
|
|
2
2
|
|
|
3
|
-
Copyright (C)
|
|
3
|
+
Copyright (C) 2025 Tencent. All rights reserved.
|
|
4
4
|
|
|
5
5
|
TMagicEditor is licensed under the Apache License Version 2.0 except for the third-party components listed below.
|
|
6
6
|
|
package/flat/import-sort.mjs
CHANGED
|
@@ -22,7 +22,7 @@ export default {
|
|
|
22
22
|
['^(@tencent)(/.*|$)'],
|
|
23
23
|
['^(@tmagic)(/.*|$)'],
|
|
24
24
|
// Internal packages.
|
|
25
|
-
['^(
|
|
25
|
+
['^(@|src|editor-page|@editor|@data-source)(/.*|$)'],
|
|
26
26
|
// Side effect imports.
|
|
27
27
|
['^\\u0000'],
|
|
28
28
|
// Parent imports. Put `..` last.
|
package/index.mjs
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import js from '@eslint/js';
|
|
2
2
|
import stylistic from '@stylistic/eslint-plugin';
|
|
3
|
-
import stylisticTs from '@stylistic/eslint-plugin-ts';
|
|
4
3
|
import parserTs from '@typescript-eslint/parser';
|
|
5
4
|
import { defineConfig } from 'eslint/config';
|
|
6
5
|
import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended';
|
|
@@ -21,7 +20,6 @@ export default (tsconfigRootDir) =>
|
|
|
21
20
|
...tseslint.config(tencentEslintBaseConfig, tencentEslintImportexport, tseslint.configs.base, {
|
|
22
21
|
plugins: {
|
|
23
22
|
'@stylistic': stylistic,
|
|
24
|
-
'@stylistic/ts': stylisticTs,
|
|
25
23
|
},
|
|
26
24
|
languageOptions: {
|
|
27
25
|
parser: parserTs,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tmagic/eslint-config",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"main": "index.mjs",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -9,18 +9,17 @@
|
|
|
9
9
|
"url": "https://github.com/Tencent/tmagic-editor.git"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@eslint/js": "^9.
|
|
13
|
-
"@typescript-eslint/parser": "^8.
|
|
14
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
15
|
-
"@stylistic/eslint-plugin": "^
|
|
16
|
-
"
|
|
17
|
-
"eslint-
|
|
18
|
-
"eslint-plugin-import": "^2.31.0",
|
|
12
|
+
"@eslint/js": "^9.34.0",
|
|
13
|
+
"@typescript-eslint/parser": "^8.41.0",
|
|
14
|
+
"@typescript-eslint/eslint-plugin": "^8.41.0 ",
|
|
15
|
+
"@stylistic/eslint-plugin": "^5.2.3",
|
|
16
|
+
"eslint-config-prettier": "^10.1.8",
|
|
17
|
+
"eslint-plugin-import": "^2.32.0",
|
|
19
18
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
20
|
-
"eslint-plugin-vue": "^10.
|
|
21
|
-
"eslint-plugin-prettier": "^5.
|
|
22
|
-
"globals": "^16.
|
|
23
|
-
"typescript-eslint": "^8.
|
|
19
|
+
"eslint-plugin-vue": "^10.4.0",
|
|
20
|
+
"eslint-plugin-prettier": "^5.5.4 ",
|
|
21
|
+
"globals": "^16.3.0",
|
|
22
|
+
"typescript-eslint": "^8.41.0"
|
|
24
23
|
},
|
|
25
24
|
"peerDependencies": {
|
|
26
25
|
"eslint": ">=9.24.0",
|