eslint-config-asset-compute
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
Adding Shared ESlint Config to Adobe Asset Compute Repositories
- Install the Asset Compute eslint config:
npm install @adobe/eslint-config-asset-compute --save-dev
- Create or edit the
.eslintrc.js
file inside the action and add @adobe/eslint-config-asset-compute
as 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 ./
Contributing
Contributions are welcomed! Read the Contributing Guide for more information.
Licensing
This project is licensed under the Apache V2 License. See LICENSE for more information.