Skip to content

Latest commit

 

History

History

eslint-plugin-choreography-ts

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

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.