Skip to content

Latest commit

 

History

History
3 lines (2 loc) · 1 KB

File metadata and controls

3 lines (2 loc) · 1 KB

Choreography-ts ESLint Plugin

This package defines and exports custom typescript ESLint linting rules for choreography-ts. The custom rules are defined in separate files under the rules directory using the typescript-eslint package. They are exported with the corresponding ID's and error levels under the base config in the src/index.ts main plugin file. To activate the rules in any package, the plugin's base configuration must be extended in the .eslintrc.* configuration file as "@choreography-ts/choreography-ts/base" after this package is installed by running pnpm install @choreography-ts/eslint-plugin-choreography-ts in the package directory. Unit tests for the custom rules are implemented under the tests directory.