@adobe/eslint-config-asset-compute

Adobe Asset Compute - Shared Eslint Configuration

Usage no npm install needed!

<script type="module">
  import adobeEslintConfigAssetCompute from 'https://cdn.skypack.dev/@adobe/eslint-config-asset-compute';
</script>

README

Version

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

  1. Install the Asset Compute eslint config:

npm install @adobe/eslint-config-asset-compute --save-dev

  1. 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",
};
  1. Add any other specific rules needed for the action to the config file.
  2. For any Mocha tests, add the following below the copyright notice: /* eslint-env mocha */
  3. 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.