@qwezey/typescript 2.0.1 → 2.1.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.
@@ -1 +1 @@
1
- {"version":3,"file":"eslint.d.ts","sourceRoot":"","sources":["../src/eslint.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,kBAAkB,kCAW9B,CAAC"}
1
+ {"version":3,"file":"eslint.d.ts","sourceRoot":"","sources":["../src/eslint.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,kBAAkB,kCAY9B,CAAC"}
package/dist/eslint.js CHANGED
@@ -5,6 +5,7 @@ import tseslint from 'typescript-eslint';
5
5
  export const qwezeyEslintConfig = defineConfig(eslint.configs.recommended, tseslint.configs.recommendedTypeChecked, tseslint.configs.stylisticTypeChecked, { languageOptions: { parserOptions: { projectService: true } } }, {
6
6
  rules: {
7
7
  'no-warning-comments': ['warn', { terms: ['todo'], location: 'start' }],
8
+ '@typescript-eslint/no-unnecessary-condition': 'warn',
8
9
  },
9
10
  }, eslintPluginPrettier);
10
11
  //# sourceMappingURL=eslint.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"eslint.js","sourceRoot":"","sources":["../src/eslint.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,YAAY,CAAC;AAChC,OAAO,oBAAoB,MAAM,oCAAoC,CAAC;AACtE,OAAO,EAAC,YAAY,EAAC,MAAM,eAAe,CAAC;AAC3C,OAAO,QAAQ,MAAM,mBAAmB,CAAC;AAEzC,MAAM,CAAC,MAAM,kBAAkB,GAAG,YAAY,CAC5C,MAAM,CAAC,OAAO,CAAC,WAAW,EAC1B,QAAQ,CAAC,OAAO,CAAC,sBAAsB,EACvC,QAAQ,CAAC,OAAO,CAAC,oBAAoB,EACrC,EAAC,eAAe,EAAE,EAAC,aAAa,EAAE,EAAC,cAAc,EAAE,IAAI,EAAC,EAAC,EAAC,EAC1D;IACE,KAAK,EAAE;QACL,qBAAqB,EAAE,CAAC,MAAM,EAAE,EAAC,KAAK,EAAE,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAC,CAAC;KACtE;CACF,EACD,oBAAoB,CACrB,CAAC"}
1
+ {"version":3,"file":"eslint.js","sourceRoot":"","sources":["../src/eslint.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,YAAY,CAAC;AAChC,OAAO,oBAAoB,MAAM,oCAAoC,CAAC;AACtE,OAAO,EAAC,YAAY,EAAC,MAAM,eAAe,CAAC;AAC3C,OAAO,QAAQ,MAAM,mBAAmB,CAAC;AAEzC,MAAM,CAAC,MAAM,kBAAkB,GAAG,YAAY,CAC5C,MAAM,CAAC,OAAO,CAAC,WAAW,EAC1B,QAAQ,CAAC,OAAO,CAAC,sBAAsB,EACvC,QAAQ,CAAC,OAAO,CAAC,oBAAoB,EACrC,EAAC,eAAe,EAAE,EAAC,aAAa,EAAE,EAAC,cAAc,EAAE,IAAI,EAAC,EAAC,EAAC,EAC1D;IACE,KAAK,EAAE;QACL,qBAAqB,EAAE,CAAC,MAAM,EAAE,EAAC,KAAK,EAAE,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAC,CAAC;QACrE,6CAA6C,EAAE,MAAM;KACtD;CACF,EACD,oBAAoB,CACrB,CAAC"}
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "engines": {
5
5
  "node": "24"
6
6
  },
7
- "version": "2.0.1",
7
+ "version": "2.1.0",
8
8
  "description": "An opinionated and strict ESLint, Prettier, and TypeScript configuration with a simple setup command to get you started quickly.",
9
9
  "exports": {
10
10
  ".": "./tsconfig.json",
@@ -12,7 +12,7 @@
12
12
  "./prettier": "./dist/prettier.js"
13
13
  },
14
14
  "bin": {
15
- "qwezey-typescript": "./dist/bin/index.js"
15
+ "qwezey-typescript": "dist/bin/index.js"
16
16
  },
17
17
  "files": [
18
18
  "dist",
@@ -44,18 +44,18 @@
44
44
  },
45
45
  "homepage": "https://github.com/qwezey/typescript#readme",
46
46
  "dependencies": {
47
- "@eslint/js": "^9.39.1",
48
- "eslint": "^9.39.1",
49
- "eslint-config-prettier": "^10.1.8",
50
- "eslint-plugin-prettier": "^5.5.4",
51
- "jiti": "^2.6.1",
52
- "prettier": "^3.7.2",
53
- "typescript": "^5.9.3",
54
- "typescript-eslint": "^8.48.0"
47
+ "@eslint/js": "^10",
48
+ "eslint": "^10",
49
+ "eslint-config-prettier": "^10",
50
+ "eslint-plugin-prettier": "^5",
51
+ "jiti": "^2",
52
+ "prettier": "^3",
53
+ "typescript": "^5",
54
+ "typescript-eslint": "^8"
55
55
  },
56
56
  "devDependencies": {
57
- "@actions/exec": "^1.1.1",
58
- "@types/node": "^24.10.1",
59
- "commander": "^14.0.2"
57
+ "@actions/exec": "^3",
58
+ "@types/node": "^24",
59
+ "commander": "^14"
60
60
  }
61
61
  }
package/src/eslint.ts CHANGED
@@ -11,6 +11,7 @@ export const qwezeyEslintConfig = defineConfig(
11
11
  {
12
12
  rules: {
13
13
  'no-warning-comments': ['warn', {terms: ['todo'], location: 'start'}],
14
+ '@typescript-eslint/no-unnecessary-condition': 'warn',
14
15
  },
15
16
  },
16
17
  eslintPluginPrettier,