Traveloka JavaScript Style Guide
JavaScript style guide in Traveloka is enforced using tool called marlint
which is a CLI based linter by extending ESLint to support React, Flowtype, and ES2015+ natively. This repository is a monorepo built using Lerna to build modules around marlint
like Atom plugins and base ESLint config.
Packages
-
Main package, provides CLI and programmatic API.
-
Atom plugin for enabling linter inside Atom editor.
-
Base config for all eslint rules.
Contributing
We have 2 different repository for our packages: atom-linter-marlint
use apm
and both marlint
and eslint-config-marlint
use npm
. All of them share the same version defined in lerna.json
.
To update package version run npm run update-version
. This will create git commit and tag with updated version in all our packages. Then publish manually for each packages: use apm publish
on atom-linter-marlint
and npm publish
for marlint
and eslint-config-marlint
License
MIT © Traveloka