@lenne.tech/eslint-config-angular 1.0.3 → 1.0.4

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 +3 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -38,7 +38,7 @@ export default [
38
38
  "@stylistic/type-annotation-spacing": ["error", {}], // Enforces consistent spacing around type annotations in TypeScript
39
39
  "@typescript-eslint/consistent-type-definitions": ["error", "interface"], // Enforces consistent usage of type definitions in TypeScript (interface vs type)
40
40
  "@typescript-eslint/prefer-ts-expect-error": "error", // Recommends using '@ts-expect-error' over '@ts-ignore' when ignoring TypeScript errors
41
- "@typescript-eslint/no-require-imports": "error", // Disallows using the `require` function to import modules in TypeScript
41
+ "@typescript-eslint/no-require-imports": "warn", // Disallows using the `require` function to import modules in TypeScript
42
42
  "no-useless-constructor": "off", // Disallows unnecessary constructors
43
43
  indent: "off", // Disallows inconsistent indentation
44
44
  "@typescript-eslint/no-invalid-this": "error", // Reports invalid uses of 'this' in TypeScript code
@@ -80,6 +80,8 @@ export default [
80
80
  curly: ["error", "all"],
81
81
  "max-statements-per-line": ["error", { max: 1 }],
82
82
 
83
+ "@typescript-eslint/no-unused-vars": "warn",
84
+
83
85
  // off
84
86
  // TS
85
87
  "@typescript-eslint/consistent-indexed-object-style": "off", // Enforces consistent usage of index signatures or record types in TypeScript code
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lenne.tech/eslint-config-angular",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "ESLint config of lenne.Tech for Angular",
5
5
  "license": "MIT",
6
6
  "keywords": [