ESLint
Run ESLint in your build pipeline. For example in npm, in the package.json
:
{
"name": "jupyter-ipython-viewer-for-confluence",
"version": "1.0.3",
"private": true,
"scripts": {
"start": "node app.js",
"test": "mocha test/*.js",
"lint": "eslint **/*.js"
},
...
And then run the lint task in your CI build:
Supported Output Formats
ESLint support multiple output formats. The default output format (stylish) and the checkstyle format is supported by Code Review Assistant. If you use another format, Code Review Assistant will not recognize the ESLint output.
Â