Linting reference
Adapter linting uses ESLint with the AirBnB rule set and two modifications: the max line length rule is downgraded to a warning, and the comma-dangle rule is removed so that JSON files are formatted as valid JSON.
Linting scripts are defined in package.json. Run them from the adapter directory.
Most adapters produce a large number of warnings. Running lint:errors makes it easier to find the issues that matter. Lint errors — especially syntax errors — can prevent the adapter from loading whenItential Platform restarts and can cause runtime failures. See Linting for guidance on when to run lint and what to do with errors.