All Projects โ†’ iCrawl โ†’ eslint-config-marine

iCrawl / eslint-config-marine

Licence: MIT license
๐Ÿฌ Typescript ESLint shareable config

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to eslint-config-marine

sphinxcontrib-trio
Make Sphinx better at documenting Python functions and methods
Stars: โœญ 26 (+62.5%)
Mutual labels:  async-await
EnumerableAsyncProcessor
Process Multiple Asynchronous Tasks in Various Ways - One at a time / Batched / Rate limited / Concurrently
Stars: โœญ 84 (+425%)
Mutual labels:  async-await
koa2-example-app
An app that is built using koa2 and async/await
Stars: โœญ 85 (+431.25%)
Mutual labels:  async-await
TeamSpeak3QueryApi
.NET wrapper for the TeamSpeak 3 Query API
Stars: โœญ 56 (+250%)
Mutual labels:  async-await
action-eslint
๐Ÿ‹๐Ÿฌ TypeScript/JavaScript ESLint action
Stars: โœญ 24 (+50%)
Mutual labels:  async-await
async
Asynchronous programming for R -- async/await and generators/yield
Stars: โœญ 37 (+131.25%)
Mutual labels:  async-await
pyfuseki
A library that uses Python to connect and manipulate Jena Fuseki, which provides sync and async methods.
Stars: โœญ 22 (+37.5%)
Mutual labels:  async-await
tempdb
Redis-backed ephemeral key-value store for Node
Stars: โœญ 30 (+87.5%)
Mutual labels:  async-await
aioudp
Asyncio UDP server
Stars: โœญ 21 (+31.25%)
Mutual labels:  async-await
banana
๐ŸŒ Modern C++ Telegram Bot API library
Stars: โœญ 30 (+87.5%)
Mutual labels:  async-await
Pyrez
(ON REWRITE) An easy to use (a)sync wrapper for Hi-Rez Studios API (Paladins, Realm Royale, and Smite), written in Python. ๐Ÿ
Stars: โœญ 23 (+43.75%)
Mutual labels:  async-await
AsyncClipboardService
๐Ÿ“‹ An async & low-level windows clipboard service implementation for .NET, C#
Stars: โœญ 14 (-12.5%)
Mutual labels:  async-await
AsyncTcpClient
An asynchronous variant of TcpClient and TcpListener for .NET Standard.
Stars: โœญ 125 (+681.25%)
Mutual labels:  async-await
typescript-async
Creating Asynchronous Code with TypeScript
Stars: โœญ 44 (+175%)
Mutual labels:  async-await
eslint-config-welly
๐Ÿ˜Ž โš™๏ธ ESLint configuration for React projects that I do. Feel free to use this!
Stars: โœญ 21 (+31.25%)
Mutual labels:  async-await
async-permissions
Easy handling for Android-M permission based on async/await
Stars: โœญ 25 (+56.25%)
Mutual labels:  async-await
react-app-simple-chat-app
A Simple Chat Application using MERN stack (MongoDB, Express JS, React JS, Node JS) and Socket.io for real time chatting
Stars: โœญ 41 (+156.25%)
Mutual labels:  async-await
async-await-codemod
Codemod script for migrating promise-based functions to use async/await syntax
Stars: โœญ 22 (+37.5%)
Mutual labels:  async-await
is-async-supported
Check if async/await is available natively
Stars: โœญ 16 (+0%)
Mutual labels:  async-await
auto-async-wrap
automatic async middleware wrapper for expressjs errorhandler.
Stars: โœญ 21 (+31.25%)
Mutual labels:  async-await

eslint-config-marine

Typescript ESLint shareable config

NPM version NPM downloads Dependencies

NPM info

Install

npm i -D eslint-config-marine

additionally (if not already in place), you will need @typescript-eslint/parser and @typescript-eslint/eslint-plugin

npm i -D @typescript-eslint/parser @typescript-eslint/eslint-plugin

Usage

Add the ESLint config to your package.json:

{
	"name": "my-project",
	...
	"eslintConfig": {
		"extends": "marine"
	}
}

Or to eslintrc.js or eslintrc.json:

{
	"extends": "marine"
}

Targets

If you are developing with Javascript consider adding:

{
	"extends": "marine",
	"env": {
		"browser": true
	}
}

or use the platform specific configs for Node.js:

{
	"extends": "marine/node"
}

or React:

{
	"extends": "marine/react"
}

or any other JSX:

{
	"extends": "marine/jsx"
}

or Vue.js:

{
	"extends": "marine/vue"
}

Using the Vue extended config will require you to additionally install eslint-plugin-vue and babel-eslint

npm i -D babel-eslint eslint-plugin-vue

or Angular:

{
	"extends": "marine/angular"
}

Using the Angular extended config will require you to additionally install @angular-eslint/builder, @angular-eslint/eslint-plugin, @angular-eslint/eslint-plugin-template, and @angular-eslint/template-parser

npm i -D @angular-eslint/builder @angular-eslint/eslint-plugin @angular-eslint/eslint-plugin-template @angular-eslint/template-parser

Prettier usage

If you want to apply your own .prettierrc rules with support for disabling the correct rules, just add /prettier before the target name.

Also make sure you install prettier, eslint-plugin-prettier and eslint-config-prettier for this to work.

npm i -D prettier eslint-plugin-prettier eslint-config-prettier
{
	"extends": "marine/prettier"
}
{
	"extends": "marine/prettier/node"
}

or React:

{
	"extends": "marine/prettier/react"
}

or any other JSX:

{
	"extends": "marine/prettier/jsx"
}

or Vue.js:

{
	"extends": "marine/prettier/vue"
}

or Angular:

{
	"extends": "marine/prettier/angular"
}

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Author

eslint-config-marine ยฉ iCrawl, Released under the MIT License.
Authored and maintained by iCrawl.

GitHub @iCrawl ยท Twitter @iCrawlToGo

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].