@htcoaching/eslint-config-htcoaching

1.0.11 • Public • Published

eslint-config-htcoaching

Overview

This package contains all of the Eslint configurations used in all JavaScript based applications.

Purpose

The aim of this package is to enforce syntax standards during write time to ensure that all standards and best-practices are being adhered to.

This configuration is composed of other industry best practices as well as contains some overwrites that are specific to htcoaching applications. AirBnb is the basis for the configurations, and then we build on top of that to improve automatic linting with Prettier.

Internal Usage

This package is automatically included in all htcoaching bootstrapped projects. There is no need to include it manually. This config is integrated into the Webpack build and will prevent the build from completing if any of these errors are violated.

External Usage

Follow the installation instructions provided on the ESLint Documentation

This package can be used externally as a eslint-preset if you so choose.

Download eslint-config-htcoaching package

npm install --save-dev eslint-config-htcoaching

Install the other packages you'll need. You can find them in the package.json

Create a .eslintrc file at the root of your project and add the following code

{
  "extends": ["@htcoaching/eslint-config-htcoaching"]
}

Readme

Keywords

Package Sidebar

Install

npm i @htcoaching/eslint-config-htcoaching

Weekly Downloads

1

Version

1.0.11

License

ISC

Unpacked Size

6.1 kB

Total Files

8

Last publish

Collaborators

  • drewdecarme