eslint-config-dolmios 1.3.6 → 1.3.7
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 +3 -3
- package/index.js +1 -0
- package/package.json +7 -6
package/README.md
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
7
|
-
```
|
|
8
|
-
|
|
7
|
+
```sh
|
|
8
|
+
pnpm add eslint-config-dolmios
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
## Usage
|
|
@@ -38,7 +38,7 @@ Prettier is configured to work nicely with this config, though is an optional in
|
|
|
38
38
|
|
|
39
39
|
#### Extending Prettier
|
|
40
40
|
|
|
41
|
-
>
|
|
41
|
+
> The above method does **not** offer a way to _extend_ the configuration to overwrite some properties from the shared configuration. If you need to do that, import the file in a `.prettierrc.js` file and export the modifications.
|
|
42
42
|
> [https://prettier.io/docs/en/](https://prettier.io/docs/en/configuration.html#sharing-configurations)
|
|
43
43
|
|
|
44
44
|
```js
|
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-dolmios",
|
|
3
3
|
"description": " A simple ESLint setup using @typescript-eslint",
|
|
4
|
-
"version": "1.3.
|
|
4
|
+
"version": "1.3.7",
|
|
5
5
|
"author": "Jackson Dolman <mail@dolmios.com>",
|
|
6
6
|
"bugs": {
|
|
7
7
|
"url": "https://github.com/dolmios/eslint-config-dolmios/issues"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@typescript-eslint/eslint-plugin": "^5.47.
|
|
11
|
-
"@typescript-eslint/parser": "^5.47.
|
|
12
|
-
"eslint": "^8.
|
|
10
|
+
"@typescript-eslint/eslint-plugin": "^5.47.1",
|
|
11
|
+
"@typescript-eslint/parser": "^5.47.1",
|
|
12
|
+
"eslint": "^8.31.0",
|
|
13
13
|
"eslint-plugin-import": "^2.26.0",
|
|
14
14
|
"eslint-plugin-sort-keys-fix": "^1.1.2",
|
|
15
15
|
"prettier": "^2.8.1",
|
|
@@ -24,13 +24,14 @@
|
|
|
24
24
|
],
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"main": "index.js",
|
|
27
|
+
"prettier": "./configs/prettier.json",
|
|
27
28
|
"repository": {
|
|
28
29
|
"type": "git",
|
|
29
30
|
"url": "git+https://github.com/dolmios/eslint-config-dolmios.git"
|
|
30
31
|
},
|
|
31
|
-
"prettier": "./configs/prettier.json",
|
|
32
32
|
"scripts": {
|
|
33
33
|
"lint": "eslint --ext .js",
|
|
34
|
-
"prettier": "prettier --write ."
|
|
34
|
+
"prettier": "prettier --write .",
|
|
35
|
+
"tidy": "pnpm lint && pnpm prettier"
|
|
35
36
|
}
|
|
36
37
|
}
|