Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.
/ javascript Public archive

JavaScript style guide

License

Notifications You must be signed in to change notification settings

change/javascript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Change.org JavaScript Style Guide/Tools

We use the Airbnb JavaScript Style Guide as a foundation for our own JavaScript code style recommendations, and eslint for enforcement.

This repo includes some npm packages that encapsulate a couple of different flavours of eslint configs, which themselves inherit from eslint-config-airbnb* but also bring in a handful of other relevant plugins and overrides.

Additionally, this repo contains change-codemod and eslint-plugin-change to transform Javascript code and enforce the transformations (as well as other custom rules).

Release process

  1. eslint-config-change-base
    1. bump @change-org/eslint-plugin-change
    2. bump version (npm version minor)
    3. release to npm (npm publish)
  2. eslint-config-change-fe
    1. bump eslint-config-change-base and @change-org/eslint-plugin-change
    2. bump version (npm version minor)
    3. release to npm (npm publish)
  3. eslint-plugin-change
    1. bump eslint-config-change-base
    2. bump version (npm version minor)
    3. release to npm (npm publish)
  4. change-codemod
    1. bump eslint-config-change-base and @change-org/eslint-plugin-change
    2. bump version (npm version minor)
    3. release to npm (npm publish)

Releases

No releases published

Packages

No packages published