Shared ESlint configuration for Nodejs projects related to the Adobe Asset Compute service
This is set up as a shareable config in the adobe scope as described here
- Install the Asset Compute eslint config:
npm install @adobe/eslint-config-asset-compute --save-dev
- Create or edit the
.eslintrc.jsfile inside the action and add@adobe/eslint-config-asset-computeas an extension:
module.exports = {
"extends": "@adobe/eslint-config-asset-compute",
};- Add any other specific rules needed for the action to the config file.
- For any Mocha tests, add the following below the copyright notice:
/* eslint-env mocha */ - Run
npx eslint ./
Contributions are welcomed! Read the Contributing Guide for more information.
This project is licensed under the Apache V2 License. See LICENSE for more information.