lints aws step functions state machine json
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install eslint-plugin-step-functions:
$ npm install eslint-plugin-step-functions --save-dev
Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-step-functions globally.
Add step-functions to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"step-functions"
]
}