Need help with statelint?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

awslabs
235 Stars 34 Forks Apache License 2.0 37 Commits 15 Opened issues

Description

A Ruby gem that provides a command-line validator for Amazon States Language JSON files.

Services available

!
?

Need anything else?

Contributors list

statelint

A Ruby gem that provides a command-line validator for Amazon States Language JSON files.

Installation

Add this line to your application's Gemfile:

gem 'statelint'

And then execute:

$ bundle

Or install it yourself as:

$ gem install statelint

Usage

statelint state-machine-spec, state-machinespec...

There are no options. If you see no output, your state machine is fine.

To do

Currently covers most of the grammatical constraints for state-machine definitions. The checking of JsonPath syntax is hand-built and probably imperfect.

The Ruby JSON parser unfortunately does not detect duplicate keys in objects, so neither does statelint.

Contributing

Bug reports and pull requests are welcome on GitHub

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.