Ravn Eslint config.
Install:
$ yarn add --dev eslint@"^8.0.0" @ravnhq/eslint-config
Edit .eslintrc.js
:
module.exports = {
extends: ["@ravnhq/eslint-config"],
}
Optionally there are other supplemental configs based on the project:
module.exports = {
extends: [
"@ravnhq/eslint-config",
"@ravnhq/eslint-config/react",
"@ravnhq/eslint-config/react-native",
"@ravnhq/eslint-config/electron",
"@ravnhq/eslint-config/jest",
"@ravnhq/eslint-config/node",
"@ravnhq/eslint-config/legacy-filenames",
],
}