@jarsec/eslint-config 3.1.0 → 3.2.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.
Files changed (3) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/index.js +8 -14
  3. package/package.json +10 -10
package/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # @jarsec/eslint-config
2
2
 
3
+ ## 3.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 966515f: Replace simple-import-sort with eslint-plugin-perfectionist
8
+
9
+ ### Patch Changes
10
+
11
+ - 6c1d736: Add version ranges to typescript and eslint peer dependencies
12
+ - d68718e: fix(deps): update dependencies
13
+
3
14
  ## 3.1.0
4
15
 
5
16
  ### Minor Changes
package/index.js CHANGED
@@ -9,18 +9,17 @@ const rules = {
9
9
  "object-curly-spacing": "off",
10
10
  "operator-linebreak": "off",
11
11
  "no-mixed-spaces-and-tabs": "off",
12
- "@typescript-eslint/comma-dangle": "off",
13
- "@typescript-eslint/indent": "off",
14
- "@typescript-eslint/quotes": "off",
15
- "@typescript-eslint/semi": "off",
16
- "@typescript-eslint/object-curly-spacing": "off",
17
- "no-unused-vars": "off",
18
12
  "no-warning-comments": "off",
19
- "simple-import-sort/imports": "error",
20
- "simple-import-sort/exports": "error",
21
13
  "import/first": "error",
22
14
  "import/newline-after-import": "error",
23
15
  "import/no-duplicates": "error",
16
+ "perfectionist/sort-objects": [
17
+ "error",
18
+ {
19
+ type: "natural",
20
+ order: "asc"
21
+ }
22
+ ]
24
23
  };
25
24
 
26
25
  module.exports = {
@@ -34,15 +33,10 @@ module.exports = {
34
33
  plugins: [
35
34
  "@typescript-eslint/eslint-plugin",
36
35
  "import",
37
- "simple-import-sort",
36
+ "perfectionist",
38
37
  "prettier",
39
38
  ],
40
39
  extends: [
41
- "eslint:recommended",
42
- "plugin:@typescript-eslint/eslint-recommended",
43
- "plugin:@typescript-eslint/recommended",
44
- "plugin:import/recommended",
45
- "plugin:import/typescript",
46
40
  "xo",
47
41
  "xo-typescript",
48
42
  "plugin:prettier/recommended",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jarsec/eslint-config",
3
- "version": "3.1.0",
3
+ "version": "3.2.0",
4
4
  "description": "jsec's eslint configurations",
5
5
  "author": "Jarrod Seccombe <jarrod.seccombe@icloud.com>",
6
6
  "main": "index.js",
@@ -9,24 +9,24 @@
9
9
  "access": "public"
10
10
  },
11
11
  "dependencies": {
12
- "@rushstack/eslint-patch": "1.5.0",
13
- "@typescript-eslint/eslint-plugin": "6.7.3",
14
- "@typescript-eslint/parser": "6.7.3",
12
+ "@rushstack/eslint-patch": "1.5.1",
13
+ "@typescript-eslint/eslint-plugin": "6.8.0",
14
+ "@typescript-eslint/parser": "6.8.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
19
  "eslint-plugin-import": "2.28.1",
20
- "eslint-plugin-prettier": "5.0.0",
21
- "eslint-plugin-simple-import-sort": "10.0.0"
20
+ "eslint-plugin-perfectionist": "2.2.0",
21
+ "eslint-plugin-prettier": "5.0.1"
22
22
  },
23
23
  "devDependencies": {
24
- "@types/node": "20.7.0",
25
- "eslint": "8.50.0",
24
+ "@types/node": "20.8.7",
25
+ "eslint": "8.51.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.50.0",
30
+ "typescript": "^5.2.2"
31
31
  }
32
32
  }