@tsslint/config 1.0.5 → 1.0.7

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 (3) hide show
  1. package/index.d.ts +2 -1
  2. package/index.js +5 -1
  3. package/package.json +3 -3
package/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export * from '@tsslint/types';
2
- import type { Config, Rule } from '@tsslint/types';
2
+ import type { Config, Plugin, Rule } from '@tsslint/types';
3
3
  export declare function defineRule(rule: Rule): Rule;
4
+ export declare function definePlugin(plugin: Plugin): Plugin;
4
5
  export declare function defineConfig(config: Config): Config;
package/index.js CHANGED
@@ -14,12 +14,16 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.defineConfig = exports.defineRule = void 0;
17
+ exports.defineConfig = exports.definePlugin = exports.defineRule = void 0;
18
18
  __exportStar(require("@tsslint/types"), exports);
19
19
  function defineRule(rule) {
20
20
  return rule;
21
21
  }
22
22
  exports.defineRule = defineRule;
23
+ function definePlugin(plugin) {
24
+ return plugin;
25
+ }
26
+ exports.definePlugin = definePlugin;
23
27
  function defineConfig(config) {
24
28
  return config;
25
29
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsslint/config",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "license": "MIT",
5
5
  "files": [
6
6
  "**/*.js",
@@ -12,8 +12,8 @@
12
12
  "directory": "packages/config"
13
13
  },
14
14
  "dependencies": {
15
- "@tsslint/types": "1.0.5",
15
+ "@tsslint/types": "1.0.7",
16
16
  "esbuild": "^0.21.4"
17
17
  },
18
- "gitHead": "ee85483f0611f1005a3f49599575d1a7069c401a"
18
+ "gitHead": "ce5801b4e4f6e7ec0032f28c694fd916a82e1bd3"
19
19
  }