Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/ck-oss/eslint-config
- Owner: ck-oss
- Created: 2023-09-25T09:33:57.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-31T18:11:59.000Z (4 months ago)
- Last Synced: 2024-10-17T06:30:53.606Z (about 1 month ago)
- Topics: cloudflare-pages, eslint, nextjs, nodejs, react, typescript
- Language: JavaScript
- Homepage:
- Size: 397 KB
- Stars: 3
- Watchers: 0
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
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",
};
```