Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chempogonzalez/eslint-config-ts-standard-next
Eslint config with standard-typescript (+other plugins) and extra opinionated configs
https://github.com/chempogonzalez/eslint-config-ts-standard-next
Last synced: 13 days ago
JSON representation
Eslint config with standard-typescript (+other plugins) and extra opinionated configs
- Host: GitHub
- URL: https://github.com/chempogonzalez/eslint-config-ts-standard-next
- Owner: chempogonzalez
- License: mit
- Created: 2022-10-30T18:47:57.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-05T20:18:28.000Z (over 1 year ago)
- Last Synced: 2024-11-12T13:12:15.324Z (2 months ago)
- Language: JavaScript
- Size: 210 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# eslint-config-ts-standard-next
## π Description
Eslint config with standard-typescript (+other plugins) and extra opinionated configs applying best practices and focused on declarative code
# π Summary
>
> Linting and best practices rules for:
>
> - JavaScript and JSX
> - TypeScript and TSX
> - TSDoc
> - React and react hooks
> - NextJS
> - Accessibility (JSX a11y)
> - Package.json convention
> - JSON files
> - YAML
> - Markdown# π₯ Features
The final package published is the [eslint-config-ts-standard-next](packages/full-setup/README.md) but in this monorepo you can find the dependencies separated in the following packages:
- [eslint-config-base](packages/base/):
- standard config
- json plugin for _*.json, *.jsonc and *.json5_
- yml plugin for _*.yml and *.yaml_
- package.json formatter + keys sorter
- markdown plugin _*.md_
- Additional opinionated rules like array formatting, import order and format, es6 conventions,...
- [eslint-config-typescript](packages/typescript/):
- eslint-config-base
- standard-with-typescript config
- typescript-eslint/recommended config
- TSDoc plugin to keep comments as the convention says
- several additional opinionated rules like naming convention, enforce "import type" for types, ...
- [eslint-config-next](packages/next/):
- eslint-config-typescript which has all the bullets mentioned before
- eslint-config-next for next related rules + react + react-hooks + jsx a11y for accessibility
- Switch on some react rules to enforce consistency---
## π€ Happy Code
> Created with Typescript! β‘ and latin music πΊπ΅
### This README.md file has been written keeping in mind
- [GitHub Markdown](https://guides.github.com/features/mastering-markdown/)
- [Emoji Cheat Sheet](https://www.webfx.com/tools/emoji-cheat-sheet/)