@typespec/eslint-plugin 0.79.0-dev.0 → 0.79.0-dev.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.
@@ -1,3 +1,5 @@
1
1
  import { TSESLint } from "@typescript-eslint/utils";
2
- export declare const callDecoratorRule: TSESLint.RuleModule<"default" | "suggestReplaceWithContextCall", never[], unknown, TSESLint.RuleListener>;
2
+ export declare const callDecoratorRule: TSESLint.RuleModule<"default" | "suggestReplaceWithContextCall", never[], unknown, TSESLint.RuleListener> & {
3
+ name: string;
4
+ };
3
5
  //# sourceMappingURL=call-decorator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"call-decorator.d.ts","sourceRoot":"","sources":["../../../src/rules/call-decorator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAY,MAAM,0BAA0B,CAAC;AAS9D,eAAO,MAAM,iBAAiB,2GAsD5B,CAAC"}
1
+ {"version":3,"file":"call-decorator.d.ts","sourceRoot":"","sources":["../../../src/rules/call-decorator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAY,MAAM,0BAA0B,CAAC;AAS9D,eAAO,MAAM,iBAAiB;;CAsD5B,CAAC"}
@@ -1,3 +1,5 @@
1
1
  import { ESLintUtils } from "@typescript-eslint/utils";
2
- export declare const createRule: <Options extends readonly unknown[], MessageIds extends string>({ meta, name, ...rule }: Readonly<ESLintUtils.RuleWithMetaAndName<Options, MessageIds, unknown>>) => ESLintUtils.RuleModule<MessageIds, Options, unknown, ESLintUtils.RuleListener>;
2
+ export declare const createRule: <Options extends readonly unknown[], MessageIds extends string>({ meta, name, ...rule }: Readonly<ESLintUtils.RuleWithMetaAndName<Options, MessageIds, unknown>>) => ESLintUtils.RuleModule<MessageIds, Options, unknown, ESLintUtils.RuleListener> & {
3
+ name: string;
4
+ };
3
5
  //# sourceMappingURL=utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAGvD,eAAO,MAAM,UAAU,qPAGtB,CAAC"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAGvD,eAAO,MAAM,UAAU;;CAGtB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typespec/eslint-plugin",
3
- "version": "0.79.0-dev.0",
3
+ "version": "0.79.0-dev.1",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "Eslint plugin providing set of rules to be used in the JS/TS code of TypeSpec libraries",
6
6
  "homepage": "https://typespec.io",
@@ -47,8 +47,8 @@
47
47
  },
48
48
  "scripts": {
49
49
  "clean": "rimraf ./dist ./temp",
50
- "build": "tsc -p .",
51
- "watch": "tsc -p . --watch",
50
+ "build": "tsc -p tsconfig.build.json",
51
+ "watch": "tsc -p tsconfig.build.json --watch",
52
52
  "test": "vitest run",
53
53
  "test:ui": "vitest --ui",
54
54
  "test:ci": "vitest run --coverage --reporter=junit --reporter=default",