@phaicom/eslint-config 0.2.4 → 0.2.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/dist/index.js +2 -8
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -8,14 +8,10 @@ var base = {
|
|
|
8
8
|
"curly": ["error", "all"],
|
|
9
9
|
// style rule customizations
|
|
10
10
|
"style/arrow-parens": ["error", "always"],
|
|
11
|
-
"style/brace-style": ["error", "1tbs", { allowSingleLine: true }],
|
|
12
|
-
"style/quote-props": "off",
|
|
13
11
|
"style/function-call-spacing": ["error", "never"],
|
|
14
12
|
// unicorn rule customizations
|
|
15
13
|
"unicorn/prevent-abbreviations": "off",
|
|
16
|
-
"unicorn/consistent-function-scoping": "off"
|
|
17
|
-
// node customizations
|
|
18
|
-
"node/prefer-global/process": "off"
|
|
14
|
+
"unicorn/consistent-function-scoping": "off"
|
|
19
15
|
}
|
|
20
16
|
};
|
|
21
17
|
var vue = {
|
|
@@ -25,9 +21,7 @@ var vue = {
|
|
|
25
21
|
"vue/max-attributes-per-line": ["error", {
|
|
26
22
|
singleline: { max: 10 },
|
|
27
23
|
multiline: { max: 1 }
|
|
28
|
-
}]
|
|
29
|
-
"vue/multi-word-component-names": "warn",
|
|
30
|
-
"vue/singleline-html-element-content-newline": "off"
|
|
24
|
+
}]
|
|
31
25
|
}
|
|
32
26
|
};
|
|
33
27
|
var phaicom = { base, vue };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@phaicom/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.6",
|
|
5
5
|
"description": "Phaicom's config based on @antfu/eslint-config",
|
|
6
6
|
"author": "Reawpai Chunsoi <reawpai.chunsoi@gmail.com> (https://github.com/phaicom)",
|
|
7
7
|
"license": "MIT",
|
|
@@ -29,12 +29,12 @@
|
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@antfu/eslint-config": "^4.1.
|
|
32
|
+
"@antfu/eslint-config": "^4.1.1",
|
|
33
33
|
"eslint": "^9.19.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@commitlint/cli": "^19.
|
|
37
|
-
"@commitlint/config-conventional": "^19.
|
|
36
|
+
"@commitlint/cli": "^19.7.1",
|
|
37
|
+
"@commitlint/config-conventional": "^19.7.1",
|
|
38
38
|
"bumpp": "^10.0.1",
|
|
39
39
|
"eslint-plugin-format": "^1.0.1",
|
|
40
40
|
"eslint-plugin-readable-tailwind": "^2.0.0-beta.1",
|