/eslint-config

Shoutem ESlint config

Primary LanguageJavaScriptMIT LicenseMIT

Shoutem JavaScript Style Guide

This repository provides three eslint packages:

  1. eslint-config-base
  2. eslint-config-react
  3. eslint-config-react-native

Automatically Fix Code in VS Code

For a good developer experience, it's useful to setup your editor to automatically run ESLint's automatic fix command (i.e. eslint --fix) whenever a file is saved. If you are using VS code, download ESLint extension for VS code and add this config in the settings.json file in VS Code to get automatic fixing whenever saving a file:

{
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": true
  },
}

File is located in:

.vscode/settings.json