11.0.2 • Published 11 months ago

@contentful/eslint-config-backend v11.0.2

Weekly downloads
6,094
License
UNLICENSED
Repository
github
Last release
11 months ago

Installation

npm install -D -E @contentful/eslint-config-backend eslint

Usage

Add eslint.config.js at your project root:

const contentfulBackend = require("@contentful/eslint-config-backend");

module.exports = [
  contentfulBackend.default,
  {
    ignores: ["built", "node_modules"],
  },
];

Or add the following, if you are using ES Modules:

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.

11.0.2

11 months ago

11.0.0

12 months ago

11.0.1

12 months ago

10.3.1

2 years ago

10.3.0

2 years ago

10.2.0

3 years ago

10.2.1

3 years ago

10.1.0

3 years ago

10.0.0

4 years ago

9.0.0

4 years ago

8.1.0

4 years ago

8.0.1

4 years ago

8.0.0

4 years ago

7.0.1

5 years ago

7.0.0

6 years ago

6.1.0

7 years ago

6.0.1

8 years ago

6.0.0

8 years ago

5.0.0

8 years ago

4.0.0

8 years ago

3.0.0

8 years ago

2.0.0

8 years ago

1.1.2

8 years ago

1.1.1

9 years ago

1.1.0

9 years ago

1.0.1

9 years ago