@ncontiero/eslint-config 6.3.0-beta.8 → 6.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -2
- package/dist/index.d.ts +1595 -1109
- package/dist/index.js +1 -1
- package/package.json +24 -23
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@ Nicolas's ESLint config preset for JavaScript, TypeScript, and Prettier.
|
|
|
12
12
|
- Sort imports, `package.json`, `tsconfig.json`...
|
|
13
13
|
- Reasonable defaults, best practices, only one line of config.
|
|
14
14
|
- Designed to work with TypeScript out-of-box.
|
|
15
|
-
- Support JSON(5), YAML, TOML, Markdown...
|
|
15
|
+
- Support JSON(5), YAML, TOML, Markdown, HTML with [HTML Eslint](https://html-eslint.org/)...
|
|
16
16
|
- [ESLint Flat config](https://eslint.org/docs/latest/use/configure/configuration-files-new), compose easily!
|
|
17
17
|
- Ignores common files like `dist`, `node_modules`, `coverage`, and files in `.gitignore`.
|
|
18
18
|
- Optional [React](https://react.dev/), [NextJs](https://nextjs.org/), [TailwindCSS](https://tailwindcss.com/), [TanStack Query](https://tanstack.com/query/) support.
|
|
@@ -42,7 +42,7 @@ export default ncontiero(
|
|
|
42
42
|
react: true, // auto detection
|
|
43
43
|
nextjs: false, // auto detection
|
|
44
44
|
tailwindcss: false, // auto detection
|
|
45
|
-
reactQuery: false,
|
|
45
|
+
reactQuery: false, // auto detection
|
|
46
46
|
},
|
|
47
47
|
{
|
|
48
48
|
/* your custom config */
|
|
@@ -189,6 +189,7 @@ export default ncontiero({
|
|
|
189
189
|
### Optional Configs
|
|
190
190
|
|
|
191
191
|
We provide some optional configs for specific use cases, that we don't include their dependencies by default.
|
|
192
|
+
|
|
192
193
|
> React, Next.js and Tailwind CSS have their dependencies by default.
|
|
193
194
|
|
|
194
195
|
#### TanStack Query
|