eslint-config-athom

3.1.3 • Public • Published

eslint-config-athom

ESLint config for Athom B.V. JavaScript projects.

Usage

In your JavaScript project:

$ npm install --save-dev eslint eslint-config-athom

Then create a file /.eslintrc.json in your project's root:

{
  "extends": "athom"
}

Now, edit your project's /package.json file to contain the following:

"engines": {
  "node": ">=12.16.1"
}

Homey App config

This package also contains a ESLint config for Homey Apps, you can extend it like this:

{
  "extends": "athom/homey-app"
}

This config includes some rules that depend on TypeScript typechecking so you need to make sure to have a tsconfig.json file in the root of your Homey App. To make this work as intended you should also have the node-homey-apps-sdk-v3-types installed by running:

$ npm install --save-dev @types/homey@npm:homey-apps-sdk-v3-types

/eslint-config-athom/

    Package Sidebar

    Install

    npm i eslint-config-athom

    Weekly Downloads

    285

    Version

    3.1.3

    License

    ISC

    Unpacked Size

    6.28 kB

    Total Files

    6

    Last publish

    Collaborators

    • robinbolscher
    • weejewel
    • athombv-github-actions