@adobe/asset-compute-eslint-config

Adobe Asset Compute - Shared Eslint Configuration

Usage no npm install needed!

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

README

Version

asset-compute-eslint-config

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/asset-compute-eslint-config --save-dev

  1. Create or edit the .eslintrc.js file inside the action and add @adobe/asset-compute-eslint-config as an extension:
module.exports = {
    "extends": "@adobe/asset-compute-eslint-config",
};
  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.