@blueking/eslint-config-bk 3.0.0-beta.2 → 3.0.0-beta.4
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/index.js +6 -5
- package/package.json +7 -6
- package/tencent/.oxlintrc.json +930 -0
- package/tencent/base.js +272 -117
- package/tencent/ts.js +228 -20
- package/tencent/vue.common.rule.js +83 -18
- package/tencent/vue.js +9 -6
- package/tencent/vue.rule.js +4 -3
- package/tencent/vue3.js +10 -7
- package/tencent/vue3.rule.js +4 -3
- package/ts.js +6 -6
- package/vue.js +6 -6
- package/vue3.js +6 -6
- package/vue3ts.js +7 -8
- package/vuets.js +7 -8
- package/tencent/prettier.js +0 -30
package/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Tencent is pleased to support the open source community by making
|
|
3
3
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
|
4
4
|
*
|
|
5
|
-
* Copyright (C) 2021
|
|
5
|
+
* Copyright (C) 2021 Tencent. All rights reserved.
|
|
6
6
|
*
|
|
7
7
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
|
8
8
|
*
|
|
@@ -23,9 +23,10 @@
|
|
|
23
23
|
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
|
24
24
|
* IN THE SOFTWARE.
|
|
25
25
|
*/
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
// ESM rewrite
|
|
27
|
+
import { defineConfig } from 'eslint/config';
|
|
28
|
+
|
|
29
|
+
import baseConfig from './tencent/base.js';
|
|
29
30
|
|
|
30
31
|
// base
|
|
31
|
-
|
|
32
|
+
export default defineConfig([baseConfig]);
|
package/package.json
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blueking/eslint-config-bk",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.4",
|
|
4
4
|
"description": "ESLint configuration for BlueKing projects",
|
|
5
5
|
"main": "index.js",
|
|
6
|
+
"type": "module",
|
|
6
7
|
"exports": {
|
|
7
8
|
".": "./index.js",
|
|
8
9
|
"./ts": "./ts.js",
|
|
9
10
|
"./vue": "./vue.js",
|
|
10
11
|
"./vuets": "./vuets.js",
|
|
11
|
-
"./vue3": "./
|
|
12
|
-
"./vue3ts": "./
|
|
12
|
+
"./vue3": "./vue3.js",
|
|
13
|
+
"./vue3ts": "./vue3ts.js"
|
|
13
14
|
},
|
|
14
15
|
"keywords": [
|
|
15
16
|
"eslint"
|
|
@@ -19,12 +20,12 @@
|
|
|
19
20
|
"@typescript-eslint/eslint-plugin": "^8.26.1",
|
|
20
21
|
"@typescript-eslint/parser": "^8.26.1",
|
|
21
22
|
"eslint": "^9.22.0",
|
|
22
|
-
"eslint-
|
|
23
|
-
"eslint-plugin-
|
|
23
|
+
"eslint-plugin-import": "^2.31.0",
|
|
24
|
+
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
24
25
|
"eslint-plugin-vue": "^10.0.0",
|
|
25
26
|
"typescript-eslint": "^8.26.1",
|
|
26
27
|
"vue-eslint-parser": "^10.1.1",
|
|
27
|
-
"eslint-plugin-
|
|
28
|
+
"eslint-plugin-oxlint": "^1.6.0"
|
|
28
29
|
},
|
|
29
30
|
"author": "bkfe",
|
|
30
31
|
"license": "MIT"
|