Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 1006 Bytes

File metadata and controls

27 lines (17 loc) · 1006 Bytes

Linting and Formatting

Requirements

  • Eslint dbaeumer.vscode-eslint

    • Eslint must be installed as an extension for local linting to work within VS Code on save.

    • Eslint is installed in app dependencies. If not using VS Code, linting the project may be done by calling:

      yarn lint
  • Prettier esbenp.prettier-vscode

    • Prettier must be installed as an extension for local formatting to work within VS Code on save.

    • Prettier is installed in app dependencies. If not using VS Code, formatting the project may be done by calling:

      yarn format

Configuration

Eslint uses ./.eslintrc.js and ./.eslintignore for configuration.

Prettier uses ./.prettierrc.js and ./.prettierignore for configuration.