diff --git a/.changeset/funny-countries-rest.md b/.changeset/funny-countries-rest.md deleted file mode 100644 index dff56a1..0000000 --- a/.changeset/funny-countries-rest.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@zemd/eslint-flat-config": patch ---- - -avoiding react/function-component-definition rule diff --git a/CHANGELOG.md b/CHANGELOG.md index 51ae51a..811aa1e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/README.md b/README.md index dada668..57c8f81 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/package.json b/package.json index 20813dd..01f67fa 100644 --- a/package.json +++ b/package.json @@ -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": [