@infernodesign/eslint-config 2.12.0 → 2.12.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.
package/dist/cli.js CHANGED
@@ -8,7 +8,7 @@ import { cac } from "cac";
8
8
  import parse from "parse-gitignore";
9
9
  import { execSync } from "node:child_process";
10
10
  //#region package.json
11
- var version = "2.12.0";
11
+ var version = "2.12.1";
12
12
  //#endregion
13
13
  //#region src/cli/constants.ts
14
14
  const vscodeSettingsString = `
package/dist/index.js CHANGED
@@ -905,6 +905,7 @@ async function javascript(options = {}) {
905
905
  "no-dupe-keys": "error",
906
906
  "no-duplicate-case": "error",
907
907
  "no-empty": ["error", { allowEmptyCatch: true }],
908
+ "no-empty-function": "off",
908
909
  "no-empty-character-class": "error",
909
910
  "no-empty-pattern": "error",
910
911
  "no-eval": "error",
@@ -2848,6 +2849,7 @@ async function typescript(options = {}) {
2848
2849
  ...renamePresetRules(pluginTs.configs.strict?.rules ?? {}, configuredRules),
2849
2850
  ...renamePresetRules(pluginTs.configs.stylistic?.rules ?? {}, configuredRules),
2850
2851
  "no-dupe-class-members": "off",
2852
+ "no-empty-function": "off",
2851
2853
  "no-redeclare": "off",
2852
2854
  "no-use-before-define": "off",
2853
2855
  "no-useless-constructor": "off",
@@ -2861,6 +2863,7 @@ async function typescript(options = {}) {
2861
2863
  "ts/method-signature-style": ["error", "property"],
2862
2864
  "ts/no-dupe-class-members": "error",
2863
2865
  "ts/no-dynamic-delete": "off",
2866
+ "ts/no-empty-function": "off",
2864
2867
  "ts/no-empty-object-type": ["error", { allowInterfaces: "always" }],
2865
2868
  "ts/no-explicit-any": "off",
2866
2869
  "ts/no-extraneous-class": "off",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@infernodesign/eslint-config",
3
3
  "description": "ESLint config for Inferno Design.",
4
- "version": "2.12.0",
4
+ "version": "2.12.1",
5
5
  "type": "module",
6
6
  "author": "Inferno Design <support@infernodesign.com>",
7
7
  "license": "MIT",