@jarsec/eslint-config 3.1.0 → 3.2.1

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 +17 -0
  2. package/index.js +22 -34
  3. package/package.json +9 -9
package/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # @jarsec/eslint-config
2
2
 
3
+ ## 3.2.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 66a808e: Add perfectionist config to extends array
8
+
9
+ ## 3.2.0
10
+
11
+ ### Minor Changes
12
+
13
+ - 966515f: Replace simple-import-sort with eslint-plugin-perfectionist
14
+
15
+ ### Patch Changes
16
+
17
+ - 6c1d736: Add version ranges to typescript and eslint peer dependencies
18
+ - d68718e: fix(deps): update dependencies
19
+
3
20
  ## 3.1.0
4
21
 
5
22
  ### Minor Changes
package/index.js CHANGED
@@ -6,54 +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
- "@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
- "no-warning-comments": "off",
19
- "simple-import-sort/imports": "error",
20
- "simple-import-sort/exports": "error",
21
9
  "import/first": "error",
22
10
  "import/newline-after-import": "error",
23
11
  "import/no-duplicates": "error",
12
+ "no-mixed-spaces-and-tabs": "off",
13
+ "no-warning-comments": "off",
14
+ "object-curly-spacing": "off",
15
+ "operator-linebreak": "off",
24
16
  };
25
17
 
26
18
  module.exports = {
27
- parser: "@typescript-eslint/parser",
28
- parserOptions: {
29
- project: "./tsconfig.json",
30
- },
31
19
  env: {
32
20
  node: true,
33
21
  },
34
- plugins: [
35
- "@typescript-eslint/eslint-plugin",
36
- "import",
37
- "simple-import-sort",
38
- "prettier",
39
- ],
40
22
  extends: [
41
- "eslint:recommended",
42
- "plugin:@typescript-eslint/eslint-recommended",
43
- "plugin:@typescript-eslint/recommended",
44
- "plugin:import/recommended",
45
- "plugin:import/typescript",
46
23
  "xo",
47
24
  "xo-typescript",
25
+ "plugin:perfectionist/recommended-natural",
48
26
  "plugin:prettier/recommended",
49
27
  ],
50
- settings: {
51
- "import/resolver": {
52
- typescript: true,
53
- node: true,
54
- },
55
- },
56
- rules,
57
28
  overrides: [
58
29
  {
59
30
  files: ["**/*/*.{test,spec}.ts"],
@@ -66,4 +37,21 @@ module.exports = {
66
37
  },
67
38
  },
68
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
+ },
69
57
  };
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.1",
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",
29
+ "eslint": "8.53.0",
30
30
  "typescript": "5.2.2"
31
31
  }
32
32
  }