@astrelion/eslint-config-astrel 1.0.0 → 1.1.0
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 +1 -1
- package/index.js +1 -0
- package/package.json +1 -1
- package/.releaserc.json +0 -8
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@ Custom, general-purpose eslint rules by ASTRELION.
|
|
|
9
9
|
- [Allman brace style](https://eslint.org/docs/latest/rules/brace-style#allman)
|
|
10
10
|
- Require semicolons
|
|
11
11
|
- Double quotes over single quotes
|
|
12
|
-
-
|
|
12
|
+
- 4 spaces over tabs
|
|
13
13
|
- No trailing spaces
|
|
14
14
|
- [Require spaces before blocks](https://eslint.org/docs/latest/rules/space-before-blocks)
|
|
15
15
|
- [Require consistent returns](https://eslint.org/docs/latest/rules/consistent-return)
|
package/index.js
CHANGED
|
@@ -24,6 +24,7 @@ export default ts.config(
|
|
|
24
24
|
// https://eslint.style/rules
|
|
25
25
|
"@stylistic/brace-style": ["warn", "allman", { "allowSingleLine": true }],
|
|
26
26
|
"@stylistic/comma-dangle": ["warn", "always-multiline"],
|
|
27
|
+
"@stylistic/indent": ["warn", 4],
|
|
27
28
|
"@stylistic/no-tabs": ["warn"],
|
|
28
29
|
"@stylistic/no-trailing-spaces": ["warn"],
|
|
29
30
|
"@stylistic/object-curly-spacing": ["warn", "always"],
|
package/package.json
CHANGED