@timobechtel/style 1.3.0 → 1.4.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.
package/README.md CHANGED
@@ -51,6 +51,19 @@ module.exports = {
51
51
  };
52
52
  ```
53
53
 
54
+ Note: You should disable `source.organizeImports` in your VSCode config, as this collides with the `import/order` rule.
55
+
56
+ Add the following to your VSCode config, e.g. `.vscode/settings.json`
57
+
58
+ ```json
59
+ {
60
+ "editor.codeActionsOnSave": {
61
+ // use eslint import/order instead
62
+ "source.organizeImports": false
63
+ }
64
+ }
65
+ ```
66
+
54
67
  ### semantic-release
55
68
 
56
69
  This repo also contains a [semantic-release](https://github.com/semantic-release/semantic-release) configuration.
@@ -92,5 +92,8 @@ module.exports = defineConfig({
92
92
  checksVoidReturn: false,
93
93
  },
94
94
  ],
95
+ // While I'd prefer using types over interfaces, there are a lot of cases
96
+ // where interfaces are needed, e.g. merging declarations and this rule is too strict.
97
+ '@typescript-eslint/consistent-type-definitions': 'off',
95
98
  },
96
99
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@timobechtel/style",
3
- "version": "1.3.0",
3
+ "version": "1.4.0",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "bin",