@pkmn/eslint-config 2.12.0 → 2.13.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/package.json +5 -5
package/README.md
CHANGED
|
@@ -69,7 +69,7 @@ literal types to represent a restricted range of values. However, unlikely like
|
|
|
69
69
|
`@pkmn` aims to follow a consistent naming style for the literal constants:
|
|
70
70
|
|
|
71
71
|
- Prefer `Title Case` in almost all cases, and **always** if it is used to represent a concept
|
|
72
|
-
which would be be
|
|
72
|
+
which would be be written in `Title Case` if it appeared in regular text.
|
|
73
73
|
- If the literals are all only single words and would never appear in `Title Case`, `lowercase`
|
|
74
74
|
should be used instead.
|
|
75
75
|
- `camelCase` can be used if it is required to directly map to `keyof` some type (ie. to interop
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pkmn/eslint-config",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.13.0",
|
|
4
4
|
"description": "ESLint configuration from @pkmn based on Pokémon Showdown's style",
|
|
5
5
|
"repository": "github:pkmn/eslint-config",
|
|
6
6
|
"license": "MIT",
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
},
|
|
10
10
|
"files": ["index.js"],
|
|
11
11
|
"peerDependencies": {
|
|
12
|
-
"@typescript-eslint/eslint-plugin": ">=5.
|
|
13
|
-
"@typescript-eslint/parser": ">=5.
|
|
12
|
+
"@typescript-eslint/eslint-plugin": ">=5.45",
|
|
13
|
+
"@typescript-eslint/parser": ">=5.45",
|
|
14
14
|
"eslint-plugin-jest": ">=27.1",
|
|
15
|
-
"eslint": ">=8.
|
|
16
|
-
"typescript": ">=4.
|
|
15
|
+
"eslint": ">=8.28",
|
|
16
|
+
"typescript": ">=4.9"
|
|
17
17
|
}
|
|
18
18
|
}
|