1.0.1 • Published 4 years ago

@adobe/asset-compute-eslint-config v1.0.1

Weekly downloads
5
License
-
Repository
github
Last release
4 years ago

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.