@rife/config 0.0.6-beta.4 → 0.0.6-beta.6
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/.prettierrc.js +21 -21
- package/package.json +1 -14
- package/tsconfig.json +1 -1
package/.prettierrc.js
CHANGED
|
@@ -4,24 +4,24 @@
|
|
|
4
4
|
* @type {any}
|
|
5
5
|
*/
|
|
6
6
|
module.exports = {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}
|
|
7
|
+
printWidth: 135,
|
|
8
|
+
useTabs: false, // 缩进使用空格
|
|
9
|
+
tabWidth: 4,
|
|
10
|
+
semi: true, // 强制加分号
|
|
11
|
+
singleQuote: true, // 强制单引号
|
|
12
|
+
quoteProps: 'as-needed',
|
|
13
|
+
jsxSingleQuote: false,
|
|
14
|
+
trailingComma: 'all',
|
|
15
|
+
bracketSameLine: true, // jsx props结束符在新行
|
|
16
|
+
arrowParens: 'avoid',
|
|
17
|
+
endOfLine: 'lf',
|
|
18
|
+
bracketSpacing: true,
|
|
19
|
+
overrides: [
|
|
20
|
+
{
|
|
21
|
+
files: ['*.wxml'],
|
|
22
|
+
options: {
|
|
23
|
+
parser: 'html',
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
],
|
|
27
|
+
};
|
package/package.json
CHANGED
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rife/config",
|
|
3
|
-
"version": "0.0.6-beta.
|
|
4
|
-
"description": "",
|
|
5
|
-
"author": "",
|
|
6
|
-
"license": "ISC",
|
|
7
|
-
"keywords": [],
|
|
8
|
-
"main": "index.js",
|
|
3
|
+
"version": "0.0.6-beta.6",
|
|
9
4
|
"files": [
|
|
10
5
|
"tsconfig.json",
|
|
11
6
|
".prettierrc.js",
|
|
@@ -21,17 +16,9 @@
|
|
|
21
16
|
"rife": {
|
|
22
17
|
"hostDependencies": {
|
|
23
18
|
"eslint": true
|
|
24
|
-
},
|
|
25
|
-
"devDependencies": {
|
|
26
|
-
"@typescript-eslint/parser": true,
|
|
27
|
-
"eslint": true,
|
|
28
|
-
"eslint-config-prettier": true,
|
|
29
|
-
"eslint-plugin-import": true,
|
|
30
|
-
"prettier": true
|
|
31
19
|
}
|
|
32
20
|
},
|
|
33
21
|
"scripts": {
|
|
34
|
-
"lint": "eslint . --fix",
|
|
35
22
|
"release": "pnpm publish --registry https://registry.npmjs.org --no-git-checks"
|
|
36
23
|
}
|
|
37
24
|
}
|
package/tsconfig.json
CHANGED