Dexa ESlint config used for all projects.
First, install this package along with ESLint in your project. This package requires at least version 8.1 of ESLint
npm install -D eslint @dexaai/eslint-config
Then create a file named .eslintrc.js
in the root of the project/package:
module.exports = {
extends: [ "@dexaai/eslint-config" ]
};
For Node-only projects (no React/browser code), use the node
config:
module.exports = {
extends: [ "@dexaai/eslint-config/node" ]
};