eslint-config-athom v3.1.5
eslint-config-athom
ESLint config for Athom B.V. JavaScript projects.
Usage
In your JavaScript project:
$ npm install --save-dev eslint eslint-config-athomThen 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-types8 months ago
8 months ago
2 years ago
2 years ago
3 years ago
4 years ago
4 years ago
4 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
7 years ago
7 years ago
8 years ago
8 years ago
9 years ago
9 years ago
9 years ago