@lenne.tech/eslint-config-ts 1.0.4 → 1.0.6

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 (2) hide show
  1. package/index.js +4 -6
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -43,6 +43,7 @@ export default [
43
43
  ...markdown.configs["recommended"].rules,
44
44
 
45
45
  "perfectionist/sort-classes": "off",
46
+ "perfectionist/sort-imports": "error",
46
47
 
47
48
  "import/named": "off",
48
49
 
@@ -68,7 +69,7 @@ export default [
68
69
  "@stylistic/type-annotation-spacing": ["error", {}],
69
70
  "@typescript-eslint/consistent-type-definitions": ["error", "interface"],
70
71
  "@typescript-eslint/prefer-ts-expect-error": "error",
71
- "@typescript-eslint/no-require-imports": "warn",
72
+ "@typescript-eslint/no-require-imports": "off",
72
73
  // Override JS
73
74
  "no-useless-constructor": "off",
74
75
  "no-invalid-this": "off",
@@ -142,14 +143,11 @@ export default [
142
143
  */
143
144
  // import
144
145
  "import/order": "off", // Replaced by perfectionist/sort-imports
145
- "import/first": "error",
146
+ "import/first": "off",
146
147
  "import/no-mutable-exports": "error",
147
148
  "import/no-unresolved": "off",
148
149
  "import/no-absolute-path": "off",
149
- "import/newline-after-import": [
150
- "error",
151
- { count: 1, considerComments: true },
152
- ],
150
+ "import/newline-after-import": 'off',
153
151
 
154
152
  // Common
155
153
  semi: ["error", "always"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lenne.tech/eslint-config-ts",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "ESLint config of lenne.Tech for TypeScript",
5
5
  "license": "MIT",
6
6
  "keywords": [