Skip to content

astrohelm/eslint-config-astrohelm

Repository files navigation

Astrohelm linter configuration

1. Install required packages:

npm i -D eslint eslint-config-astrohelm

2. Import eslint-config-astrohelm in eslint.config.js

'use strict';
const configAstrohelm = require('eslint-config-astrohelm');
module.exports = configAstrohelm; // or if you want to custom:
// module.exports = [...configAstrohelm, config];

3. (optional) Add following scripts

// package.json
{
  "scripts": {
    "lint": "eslint ."
    //...
  }
  //...
}

Copyright & contributors

Copyright © 2023 Astrohelm contributors. This library is MIT licensed license.
And it is part of Astrohelm ecosystem.