link-stack/packages/eslint-config
2025-11-13 14:06:29 +01:00
..
patch WIP 1 2024-03-16 12:51:56 +01:00
profile WIP 1 2024-03-16 12:51:56 +01:00
CHANGELOG.md WIP 1 2024-03-16 12:51:56 +01:00
index.js Repo cleanup and updates 2025-11-10 14:55:22 +01:00
LICENSE.md WIP 1 2024-03-16 12:51:56 +01:00
package.json Update version 2025-11-13 14:06:29 +01:00
README.md WIP 2 2024-03-16 19:39:20 +01:00

eslint-config

A shared eslint config for CDR Tech.

Usage

.eslintrc.js

require("eslint-config-amigo/modern-module-resolution");
module.exports = {
  extends: [
    // one of:
    "eslint-config/profile/browser", // if targeting the browser
    "eslint-config/profile/node", // if targeting node

    // and optionally:
    "eslint-config/profile/typescript", // if using typescript (node or browser)
    "eslint-config/profile/cypress", // if using cypress
    "eslint-config/profile/jest", // if using jest
  ],
  parserOptions: { tsconfigRootDir: __dirname },
};

Credits

Copyright © 2020-present Center for Digital Resilience

Contributors

Abel Luck
Abel Luck

License

License: AGPL v3

GNU AFFERO GENERAL PUBLIC LICENSE
Version 3, 19 November 2007

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.