@contentful/eslint-config-backend
v12.0.5
Published
ESLint rule-set according to our company code-style guidelines
Readme
Installation
npm install -D -E @contentful/eslint-config-backend eslintUsage
Add eslint.config.mjs at your project root:
import contentfulBackend from "@contentful/eslint-config-backend";
export default [
contentfulBackend,
// add your project specific rules here
{
rules: {
"no-unused-vars": "warn",
},
},
];Rules
See src/index.ts for details.
The eslint-config-prettier is applied at the end and disables all eslint rules that conflict with prettier.
