Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ck-oss/eslint-config

CK OSS ESLint Configuration
https://github.com/ck-oss/eslint-config

cloudflare-pages eslint nextjs nodejs react typescript

Last synced: 4 days ago
JSON representation

CK OSS ESLint Configuration

Awesome Lists containing this project

README

        

# @ck-oss/eslint-config

CK OSS ESLint Configuration

## Installation

```
npm i --save-dev @ck-oss/eslint-config
```

## Base

```js
// .eslintrc.js
module.exports = {
extends: "@ck-oss/eslint-config",
};
```

## Next.js + Cloudflare Pages

```js
// .eslintrc.js
module.exports = {
extends: "@ck-oss/eslint-config/next-on-pages",
};
```

## Next.js

```js
// .eslintrc.js
module.exports = {
extends: "@ck-oss/eslint-config/next",
};
```

## Node.js

```js
// .eslintrc.js
module.exports = {
extends: "@ck-oss/eslint-config/node",
};
```

## React.js

```js
// .eslintrc.js
module.exports = {
extends: "@ck-oss/eslint-config/react",
};
```