Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/niksy/eslint-config-nitpick
ESLint config for my projects.
https://github.com/niksy/eslint-config-nitpick
Last synced: 17 days ago
JSON representation
ESLint config for my projects.
- Host: GitHub
- URL: https://github.com/niksy/eslint-config-nitpick
- Owner: niksy
- License: mit
- Created: 2016-01-17T18:27:06.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-04-12T14:03:26.000Z (7 months ago)
- Last Synced: 2024-04-13T17:56:07.771Z (7 months ago)
- Language: JavaScript
- Size: 251 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# eslint-config-nitpick
[![Build Status][ci-img]][ci]
[ESLint][eslint] config for my projects.
## Install
```sh
npm install eslint@8 eslint-config-nitpick --save-dev
```## Usage
Add this config to your `.eslintrc`:
```json
{
"extends": [
"eslint-config-nitpick"
]
}
```If you’re using [presets](#presets), **it’s highly recommended to apply default
preset:**```json
{
"extends": [
"eslint-config-nitpick",
"eslint-config-nitpick/other-preset"
]
}
```## Presets
In addition to default preset, there are also specific presets. You can apply
multiple presets with [ESLint `extends` option][eslint-extends].### Browser
Browser specific rules.
```json
{
"extends": [
"eslint-config-nitpick/browser"
]
}
```### Testing
Rules for testing frameworks (e.g. Mocha).
```json
{
"extends": [
"eslint-config-nitpick/tests"
]
}
```### Vue
Vue specific rules.
```json
{
"extends": [
"eslint-config-nitpick/vue"
]
}
```### TypeScript
TypeScript specific rules.
```json
{
"extends": [
"eslint-config-nitpick/typescript"
]
}
```## License
MIT © [Ivan Nikolić](http://ivannikolic.com)
[ci]: https://github.com/niksy/eslint-config-nitpick/actions?query=workflow%3ACI
[ci-img]: https://github.com/niksy/eslint-config-nitpick/workflows/CI/badge.svg?branch=master
[eslint]: http://eslint.org/
[eslint-extends]: http://eslint.org/docs/user-guide/configuring#extending-configuration-files
[tc39-proposals]: https://github.com/tc39/proposals#active-proposals