This is the common ESLint configuration that all of NDLA's H5P projects should extend. The config should align with H5P Group's preferred configuration. Rules that H5P Group's config does not mention are free to change within this project and otherwise per project.
To install this configuration, install it with npm
npm install github:NDLANO/eslint-config-ndla-h5p --save-dev
Extend the configuration like this:
{
"extends": ["eslint-config-ndla-h5p"]
}