ESLint preprocessor for JS files using the straits syntax
npm install --save-dev @straits/eslint-plugin
Add "@straits/eslint-plugin"
to the plugins
array in your .eslintrc.*
:
{
"plugins": [
"@straits/eslint-plugin"
]
}
That's it, ESLint will now accept straits-syntax.