Skip to content

Commit

Permalink
Merge branch 'main' of github.com:zemd/eslint-flat-config
Browse files Browse the repository at this point in the history
  • Loading branch information
zemd committed Mar 6, 2024
2 parents 18eb737 + 1ee2aaf commit be16118
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 8 deletions.
5 changes: 0 additions & 5 deletions .changeset/funny-countries-rest.md

This file was deleted.

6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @zemd/eslint-flat-config

## 2.0.3

### Patch Changes

- 1976ee2: avoiding react/function-component-definition rule

## 2.0.2

### Patch Changes
Expand Down
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,17 @@ npm install eslint @zemd/eslint-flat-config --save-dev

```typescript
// eslint.config.js
import { config } from "@zemd/eslint-flat-config";
export default [...config];
const { createEslintConfig } = require("@zemd/eslint-flat-config");
export default [
{
ignores: [".next/**", ".turbo/**", "node_modules/**"],
},
...createEslintConfig({
useNextjs: true,
useTailwind: true,
useTurbo: true,
}),
];
```

### Debug your rules
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@zemd/eslint-flat-config",
"version": "2.0.2",
"version": "2.0.3",
"license": "LGPL-3.0-or-later",
"description": "Shared zemd ESLint flat config",
"keywords": [
Expand Down

0 comments on commit be16118

Please sign in to comment.