@ethang/eslint-config 18.3.5 → 18.3.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/.gitattributes +1 -0
- package/README.md +8 -0
- package/eslint.config.js +1 -0
- package/package.json +1 -1
package/.gitattributes
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
* text eol=lf
|
package/README.md
CHANGED
|
@@ -79,3 +79,11 @@ This config will also lint for browserslist features. Make sure to set this in p
|
|
|
79
79
|
"maintained node versions"
|
|
80
80
|
]
|
|
81
81
|
```
|
|
82
|
+
|
|
83
|
+
**.gitattributes**
|
|
84
|
+
|
|
85
|
+
Line breaks are enforced for Unix style. (\n, not \r\n). It's highly recommended reflecting this in .gitattributes
|
|
86
|
+
|
|
87
|
+
```githubexpressionlanguage
|
|
88
|
+
* text eol=crlf
|
|
89
|
+
```
|
package/eslint.config.js
CHANGED
|
@@ -68,6 +68,7 @@ export default tseslint.config(eslintPluginPrettier, {
|
|
|
68
68
|
"getter-return": "error",
|
|
69
69
|
"grouped-accessor-pairs": "error",
|
|
70
70
|
"guard-for-in": "error",
|
|
71
|
+
"linebreak-style": ["error", "unix"],
|
|
71
72
|
"logical-assignment-operators": "error",
|
|
72
73
|
"max-classes-per-file": "error",
|
|
73
74
|
"max-depth": "error",
|