Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ivanmaxlogiudice/eslint-config
A ESLint config preset.
https://github.com/ivanmaxlogiudice/eslint-config
config eslint eslint-config flat ts vue
Last synced: about 1 month ago
JSON representation
A ESLint config preset.
- Host: GitHub
- URL: https://github.com/ivanmaxlogiudice/eslint-config
- Owner: ivanmaxlogiudice
- License: mit
- Created: 2023-06-17T21:19:19.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-22T20:41:16.000Z (about 2 months ago)
- Last Synced: 2024-11-22T21:29:38.488Z (about 2 months ago)
- Topics: config, eslint, eslint-config, flat, ts, vue
- Language: TypeScript
- Homepage:
- Size: 1.83 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @ivanmaxlogiudice/eslint-config
[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![License][license-src]][license-href]## 🌟 Features
- Auto fix for formatting (aimed to be used standalone **without** Prettier).
- Reasonable defaults, best practices, only one line of config.
- Designed to work with TypeScript, Vue, JSON, YAML, Markdown, etc. Out-of-box.
- Sort imports, `package.json`, `tsconfig.json`...
- Ignores common files like `dist`, `node_modules`, `coverage`, and files in `.gitignore`.
- **Style principle**: Minimal for reading, stable for diff, consistent
- Sorted imports, dangling commas
- Single quotes, no semi
- Indentation 4 spaces.
- Using [ESLint Stylistic](https://github.com/eslint-stylistic/eslint-stylistic)## 🛠️ Install
### Starter Wizard
```bash
bunx @ivanmaxlogiudice/eslint-config@latest
```### Manual instalation
```bash
bun add -D eslint @ivanmaxlogiudice/eslint-config
```And create `eslint.config.mjs` in your project root:
```js
// eslint.config.js
import config from '@ivanmaxlogiudice/eslint-config'export default config()
```## License
[MIT](./LICENSE) License © 2022-PRESENT [Iván Máximiliano, Lo Giudice](https://github.com/ivanmaxlogiudice)
[npm-version-src]: https://img.shields.io/npm/v/@ivanmaxlogiudice/eslint-config?style=flat&colorA=080f12&colorB=1fa669
[npm-version-href]: https://npmjs.com/package/@ivanmaxlogiudice/eslint-config
[npm-downloads-src]: https://img.shields.io/npm/dm/@ivanmaxlogiudice/eslint-config?style=flat&colorA=080f12&colorB=1fa669
[npm-downloads-href]: https://npmjs.com/package/@ivanmaxlogiudice/eslint-config
[license-src]: https://img.shields.io/github/license/ivanmaxlogiudice/eslint-config.svg?style=flat&colorA=080f12&colorB=1fa669
[license-href]: https://github.com/ivanmaxlogiudice/eslint-config/blob/main/LICENSE