@voiceflow/eslint-plugin 1.8.1 → 1.9.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.
package/build/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { ESLintUtils } from '@typescript-eslint/utils/';
1
+ import type { ESLintUtils } from '@typescript-eslint/utils';
2
2
  import type { ESLint } from 'eslint';
3
3
  import { rules } from './rules';
4
4
  type RuleKey = keyof typeof rules;
@@ -6,5 +6,5 @@ interface Plugin extends Omit<ESLint.Plugin, 'rules'> {
6
6
  rules: Record<RuleKey, ESLintUtils.RuleModule<any, any, any, any>>;
7
7
  }
8
8
  export declare const voiceflowConfig: Plugin;
9
- export default voiceflowConfig;
9
+ export {};
10
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAErC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,KAAK,OAAO,GAAG,MAAM,OAAO,KAAK,CAAC;AAElC,UAAU,MAAO,SAAQ,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IACnD,KAAK,EAAE,MAAM,CAAC,OAAO,EAAE,WAAW,CAAC,UAAU,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC;CACpE;AAED,eAAO,MAAM,eAAe,EAAE,MAgB7B,CAAC;AAEF,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAErC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,KAAK,OAAO,GAAG,MAAM,OAAO,KAAK,CAAC;AAElC,UAAU,MAAO,SAAQ,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IACnD,KAAK,EAAE,MAAM,CAAC,OAAO,EAAE,WAAW,CAAC,UAAU,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC;CACpE;AAED,eAAO,MAAM,eAAe,EAAE,MAgB7B,CAAC"}
package/build/index.js CHANGED
@@ -19,5 +19,4 @@ exports.voiceflowConfig = {
19
19
  ],
20
20
  },
21
21
  };
22
- exports.default = exports.voiceflowConfig;
23
22
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAGA,mCAAgC;AAQnB,QAAA,eAAe,GAAW;IACrC,IAAI,EAAE;QACJ,IAAI,EAAE,0BAA0B;QAChC,OAAO,EAAE,OAAO;KACjB;IACD,KAAK,EAAL,aAAK;IACL,OAAO,EAAE;QACP,UAAU,EAAE;YACV;gBACE,KAAK,EAAE,CAAC,gBAAgB,CAAC;gBACzB,KAAK,EAAE;oBACL,kCAAkC,EAAE,OAAO;iBAC5C;aACF;SACF;KACF;CACF,CAAC;AAEF,kBAAe,uBAAe,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAGA,mCAAgC;AAQnB,QAAA,eAAe,GAAW;IACrC,IAAI,EAAE;QACJ,IAAI,EAAE,0BAA0B;QAChC,OAAO,EAAE,OAAO;KACjB;IACD,KAAK,EAAL,aAAK;IACL,OAAO,EAAE;QACP,UAAU,EAAE;YACV;gBACE,KAAK,EAAE,CAAC,gBAAgB,CAAC;gBACzB,KAAK,EAAE;oBACL,kCAAkC,EAAE,OAAO;iBAC5C;aACF;SACF;KACF;CACF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voiceflow/eslint-plugin",
3
- "version": "1.8.1",
3
+ "version": "1.9.0",
4
4
  "main": "build/index.js",
5
5
  "types": "build/index.d.ts",
6
6
  "files": [
@@ -13,15 +13,17 @@
13
13
  "lint:eslint": "yarn g:eslint .",
14
14
  "lint:fix": "yarn g:run-p -c \"lint:eslint --fix\" \"lint:prettier --write\"",
15
15
  "lint:prettier": "yarn g:prettier --check .",
16
- "test": "vitest run",
17
- "test:dependencies": "yarn g:depcruise",
18
- "test:watch": "vitest run --watch"
16
+ "tdd": "vitest run --watch",
17
+ "test": "yarn g:run-p -c test:types test:unit test:cycles test:unused",
18
+ "test:cycles": "yarn g:dpdm src/index.ts",
19
+ "test:types": "yarn g:tsc --noEmit",
20
+ "test:unit": "yarn g:vitest run --coverage",
21
+ "test:unused": "yarn g:knip --workspace @voiceflow/eslint-plugin"
19
22
  },
20
23
  "devDependencies": {
21
24
  "@types/eslint": "9.6.1",
22
25
  "@typescript-eslint/rule-tester": "8.49.0",
23
- "@typescript-eslint/utils": "8.49.0",
24
- "vitest": "4.0.12"
26
+ "@typescript-eslint/utils": "8.49.0"
25
27
  },
26
28
  "peerDependencies": {
27
29
  "@typescript-eslint/parser": "^6.0.0 || ^7.0.0 || ^8.0.0",
@@ -33,5 +35,5 @@
33
35
  "volta": {
34
36
  "extends": "../../package.json"
35
37
  },
36
- "gitHead": "bd1e1eba8e19561af82f1cc385f448e0943da162"
38
+ "gitHead": "13561c29604d8fc9bc4fbc5402d582961856a821"
37
39
  }