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.
Files changed (3) hide show
  1. package/README.md +3 -3
  2. package/index.js +1 -0
  3. package/package.json +7 -6
package/README.md CHANGED
@@ -4,8 +4,8 @@
4
4
 
5
5
  ## Install
6
6
 
7
- ```bash
8
- npm install eslint-config-dolmios
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
- > This 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.
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
@@ -12,6 +12,7 @@ module.exports = {
12
12
  parser: "@typescript-eslint/parser",
13
13
  plugins: ["sort-keys-fix", "@typescript-eslint"],
14
14
  root: true,
15
+
15
16
  rules: {
16
17
  "@typescript-eslint/brace-style": "off",
17
18
  "@typescript-eslint/comma-dangle": "off",
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.6",
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.0",
11
- "@typescript-eslint/parser": "^5.47.0",
12
- "eslint": "^8.30.0",
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
  }