@lntvow/eslint-config 9.34.1 → 9.34.2
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/README.md +16 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -37,6 +37,22 @@ import { lntvow } from '@lntvow/eslint-config'
|
|
|
37
37
|
export default lntvow()
|
|
38
38
|
```
|
|
39
39
|
|
|
40
|
+
create `.prettierrc` in your project root, you can customize prettier rules as you want
|
|
41
|
+
|
|
42
|
+
```json
|
|
43
|
+
// .prettierrc
|
|
44
|
+
{
|
|
45
|
+
"$schema": "https://json.schemastore.org/prettierrc",
|
|
46
|
+
"printWidth": 120,
|
|
47
|
+
"semi": false,
|
|
48
|
+
"singleQuote": true,
|
|
49
|
+
"arrowParens": "avoid",
|
|
50
|
+
"trailingComma": "es5",
|
|
51
|
+
"htmlWhitespaceSensitivity": "ignore",
|
|
52
|
+
"quoteProps": "consistent"
|
|
53
|
+
}
|
|
54
|
+
```
|
|
55
|
+
|
|
40
56
|
## Plugins
|
|
41
57
|
|
|
42
58
|
Since flat config requires us to explicitly provide the plugin names (instead of the mandatory convention from npm package name), we renamed some plugins to make the overall scope more consistent and easier to write.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lntvow/eslint-config",
|
|
3
|
-
"version": "9.34.
|
|
3
|
+
"version": "9.34.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Customizable eslint configuration",
|
|
6
6
|
"keywords": [
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"local-pkg": "^1.1.2",
|
|
47
47
|
"typescript-eslint": "^8.42.0",
|
|
48
48
|
"vue-eslint-parser": "^10.2.0",
|
|
49
|
-
"@lntvow/eslint-plugin": "^9.34.
|
|
49
|
+
"@lntvow/eslint-plugin": "^9.34.2"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@commitlint/cli": "^19.8.1",
|