@jarsec/eslint-config 3.2.0 → 3.2.2

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/CHANGELOG.md +13 -0
  2. package/index.js +22 -28
  3. package/package.json +9 -9
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @jarsec/eslint-config
2
2
 
3
+ ## 3.2.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 61d1f76: fix(deps): update dependencies
8
+ - d572a2e: fix(deps): update dependencies
9
+
10
+ ## 3.2.1
11
+
12
+ ### Patch Changes
13
+
14
+ - 66a808e: Add perfectionist config to extends array
15
+
3
16
  ## 3.2.0
4
17
 
5
18
  ### Minor Changes
package/index.js CHANGED
@@ -6,48 +6,25 @@ require("@rushstack/eslint-patch/modern-module-resolution");
6
6
 
7
7
  const rules = {
8
8
  "comma-dangle": "off",
9
- "object-curly-spacing": "off",
10
- "operator-linebreak": "off",
11
- "no-mixed-spaces-and-tabs": "off",
12
- "no-warning-comments": "off",
13
9
  "import/first": "error",
14
10
  "import/newline-after-import": "error",
15
11
  "import/no-duplicates": "error",
16
- "perfectionist/sort-objects": [
17
- "error",
18
- {
19
- type: "natural",
20
- order: "asc"
21
- }
22
- ]
12
+ "no-mixed-spaces-and-tabs": "off",
13
+ "no-warning-comments": "off",
14
+ "object-curly-spacing": "off",
15
+ "operator-linebreak": "off",
23
16
  };
24
17
 
25
18
  module.exports = {
26
- parser: "@typescript-eslint/parser",
27
- parserOptions: {
28
- project: "./tsconfig.json",
29
- },
30
19
  env: {
31
20
  node: true,
32
21
  },
33
- plugins: [
34
- "@typescript-eslint/eslint-plugin",
35
- "import",
36
- "perfectionist",
37
- "prettier",
38
- ],
39
22
  extends: [
40
23
  "xo",
41
24
  "xo-typescript",
25
+ "plugin:perfectionist/recommended-natural",
42
26
  "plugin:prettier/recommended",
43
27
  ],
44
- settings: {
45
- "import/resolver": {
46
- typescript: true,
47
- node: true,
48
- },
49
- },
50
- rules,
51
28
  overrides: [
52
29
  {
53
30
  files: ["**/*/*.{test,spec}.ts"],
@@ -60,4 +37,21 @@ module.exports = {
60
37
  },
61
38
  },
62
39
  ],
40
+ parser: "@typescript-eslint/parser",
41
+ parserOptions: {
42
+ project: "./tsconfig.json",
43
+ },
44
+ plugins: [
45
+ "@typescript-eslint/eslint-plugin",
46
+ "import",
47
+ "perfectionist",
48
+ "prettier",
49
+ ],
50
+ rules,
51
+ settings: {
52
+ "import/resolver": {
53
+ node: true,
54
+ typescript: true,
55
+ },
56
+ },
63
57
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jarsec/eslint-config",
3
- "version": "3.2.0",
3
+ "version": "3.2.2",
4
4
  "description": "jsec's eslint configurations",
5
5
  "author": "Jarrod Seccombe <jarrod.seccombe@icloud.com>",
6
6
  "main": "index.js",
@@ -10,23 +10,23 @@
10
10
  },
11
11
  "dependencies": {
12
12
  "@rushstack/eslint-patch": "1.5.1",
13
- "@typescript-eslint/eslint-plugin": "6.8.0",
14
- "@typescript-eslint/parser": "6.8.0",
13
+ "@typescript-eslint/eslint-plugin": "6.11.0",
14
+ "@typescript-eslint/parser": "6.11.0",
15
15
  "eslint-config-prettier": "9.0.0",
16
16
  "eslint-config-xo": "0.43.1",
17
17
  "eslint-config-xo-typescript": "1.0.1",
18
18
  "eslint-import-resolver-typescript": "3.6.1",
19
- "eslint-plugin-import": "2.28.1",
20
- "eslint-plugin-perfectionist": "2.2.0",
19
+ "eslint-plugin-import": "2.29.0",
20
+ "eslint-plugin-perfectionist": "2.3.0",
21
21
  "eslint-plugin-prettier": "5.0.1"
22
22
  },
23
23
  "devDependencies": {
24
- "@types/node": "20.8.7",
25
- "eslint": "8.51.0",
24
+ "@types/node": "20.9.0",
25
+ "eslint": "8.53.0",
26
26
  "typescript": "5.2.2"
27
27
  },
28
28
  "peerDependencies": {
29
- "eslint": "^8.50.0",
30
- "typescript": "^5.2.2"
29
+ "eslint": "8.53.0",
30
+ "typescript": "5.2.2"
31
31
  }
32
32
  }