npm install cjs-eslint --save-dev
Add file .eslintrc.js
to your project root with the following content:
module.exports = {
extends: require.resolve('cjs-eslint')
};
Run linting for your project:
npx eslint .
If you have any problems or suggestions please open an issue according to the contribution rules.
cjs-eslint
is released under the GPL-3.0 License.