UNPKG

21 kBMarkdownView Raw
1# eslint-plugin-unicorn [![Coverage Status](https://codecov.io/gh/sindresorhus/eslint-plugin-unicorn/branch/main/graph/badge.svg)](https://codecov.io/gh/sindresorhus/eslint-plugin-unicorn/branch/main) [![npm version](https://img.shields.io/npm/v/eslint-plugin-unicorn.svg?style=flat)](https://npmjs.com/package/eslint-plugin-unicorn)
2
3<img src="https://cloud.githubusercontent.com/assets/170270/18659176/1cc373d0-7f33-11e6-890f-0ba35362ee7e.jpg" width="180" align="right">
4
5> Various awesome ESLint rules
6
7You might want to check out [XO](https://github.com/xojs/xo), which includes this plugin.
8
9[**Propose or contribute a new rule ➑**](.github/contributing.md)
10
11## Install
12
13```console
14$ npm install --save-dev eslint eslint-plugin-unicorn
15```
16
17## Usage
18
19Configure it in `package.json`.
20
21<!-- Do not manually modify this table. Run: `npm run generate-usage-example` -->
22<!-- USAGE_EXAMPLE_START -->
23```json
24{
25 "name": "my-awesome-project",
26 "eslintConfig": {
27 "env": {
28 "es6": true
29 },
30 "parserOptions": {
31 "ecmaVersion": "latest",
32 "sourceType": "module"
33 },
34 "plugins": [
35 "unicorn"
36 ],
37 "rules": {
38 "unicorn/better-regex": "error",
39 "unicorn/catch-error-name": "error",
40 "unicorn/consistent-destructuring": "error",
41 "unicorn/consistent-function-scoping": "error",
42 "unicorn/custom-error-definition": "off",
43 "unicorn/empty-brace-spaces": "error",
44 "unicorn/error-message": "error",
45 "unicorn/escape-case": "error",
46 "unicorn/expiring-todo-comments": "error",
47 "unicorn/explicit-length-check": "error",
48 "unicorn/filename-case": "error",
49 "unicorn/import-index": "off",
50 "unicorn/import-style": "error",
51 "unicorn/new-for-builtins": "error",
52 "unicorn/no-abusive-eslint-disable": "error",
53 "unicorn/no-array-callback-reference": "error",
54 "unicorn/no-array-for-each": "error",
55 "unicorn/no-array-method-this-argument": "error",
56 "unicorn/no-array-push-push": "error",
57 "unicorn/no-array-reduce": "error",
58 "unicorn/no-console-spaces": "error",
59 "unicorn/no-document-cookie": "error",
60 "unicorn/no-empty-file": "error",
61 "unicorn/no-for-loop": "error",
62 "unicorn/no-hex-escape": "error",
63 "unicorn/no-instanceof-array": "error",
64 "unicorn/no-invalid-remove-event-listener": "error",
65 "unicorn/no-keyword-prefix": "off",
66 "unicorn/no-lonely-if": "error",
67 "no-nested-ternary": "off",
68 "unicorn/no-nested-ternary": "error",
69 "unicorn/no-new-array": "error",
70 "unicorn/no-new-buffer": "error",
71 "unicorn/no-null": "error",
72 "unicorn/no-object-as-default-parameter": "error",
73 "unicorn/no-process-exit": "error",
74 "unicorn/no-static-only-class": "error",
75 "unicorn/no-this-assignment": "error",
76 "unicorn/no-unreadable-array-destructuring": "error",
77 "unicorn/no-unsafe-regex": "off",
78 "unicorn/no-unused-properties": "off",
79 "unicorn/no-useless-fallback-in-spread": "error",
80 "unicorn/no-useless-length-check": "error",
81 "unicorn/no-useless-spread": "error",
82 "unicorn/no-useless-undefined": "error",
83 "unicorn/no-zero-fractions": "error",
84 "unicorn/number-literal-case": "error",
85 "unicorn/numeric-separators-style": "error",
86 "unicorn/prefer-add-event-listener": "error",
87 "unicorn/prefer-array-find": "error",
88 "unicorn/prefer-array-flat": "error",
89 "unicorn/prefer-array-flat-map": "error",
90 "unicorn/prefer-array-index-of": "error",
91 "unicorn/prefer-array-some": "error",
92 "unicorn/prefer-at": "off",
93 "unicorn/prefer-date-now": "error",
94 "unicorn/prefer-default-parameters": "error",
95 "unicorn/prefer-dom-node-append": "error",
96 "unicorn/prefer-dom-node-dataset": "error",
97 "unicorn/prefer-dom-node-remove": "error",
98 "unicorn/prefer-dom-node-text-content": "error",
99 "unicorn/prefer-export-from": "error",
100 "unicorn/prefer-includes": "error",
101 "unicorn/prefer-keyboard-event-key": "error",
102 "unicorn/prefer-math-trunc": "error",
103 "unicorn/prefer-modern-dom-apis": "error",
104 "unicorn/prefer-module": "error",
105 "unicorn/prefer-negative-index": "error",
106 "unicorn/prefer-node-protocol": "error",
107 "unicorn/prefer-number-properties": "error",
108 "unicorn/prefer-object-from-entries": "error",
109 "unicorn/prefer-object-has-own": "off",
110 "unicorn/prefer-optional-catch-binding": "error",
111 "unicorn/prefer-prototype-methods": "error",
112 "unicorn/prefer-query-selector": "error",
113 "unicorn/prefer-reflect-apply": "error",
114 "unicorn/prefer-regexp-test": "error",
115 "unicorn/prefer-set-has": "error",
116 "unicorn/prefer-spread": "error",
117 "unicorn/prefer-string-replace-all": "off",
118 "unicorn/prefer-string-slice": "error",
119 "unicorn/prefer-string-starts-ends-with": "error",
120 "unicorn/prefer-string-trim-start-end": "error",
121 "unicorn/prefer-switch": "error",
122 "unicorn/prefer-ternary": "error",
123 "unicorn/prefer-top-level-await": "off",
124 "unicorn/prefer-type-error": "error",
125 "unicorn/prevent-abbreviations": "error",
126 "unicorn/require-array-join-separator": "error",
127 "unicorn/require-number-to-fixed-digits-argument": "error",
128 "unicorn/require-post-message-target-origin": "error",
129 "unicorn/string-content": "off",
130 "unicorn/template-indent": "warn",
131 "unicorn/throw-new-error": "error"
132 },
133 "overrides": [
134 {
135 "files": [
136 "*.ts",
137 "*.tsx"
138 ],
139 "rules": {
140 "unicorn/require-post-message-target-origin": "off"
141 }
142 }
143 ]
144 }
145}
146```
147<!-- USAGE_EXAMPLE_END -->
148
149## Rules
150
151Each rule has emojis denoting:
152
153* βœ… if it belongs to the `recommended` configuration
154* πŸ”§ if some problems reported by the rule are automatically fixable by the `--fix` [command line](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems) option
155* πŸ’‘ if some problems reported by the rule are manually fixable by editor [suggestions](https://eslint.org/docs/developer-guide/working-with-rules#providing-suggestions)
156
157<!-- Do not manually modify this table. Run: `npm run generate-rules-table` -->
158<!-- RULES_TABLE_START -->
159
160| Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | Description | βœ… | πŸ”§ | πŸ’‘ |
161| :-- | :-- | :-- | :-- | :-- |
162| [better-regex](docs/rules/better-regex.md) | Improve regexes by making them shorter, consistent, and safer. | βœ… | πŸ”§ | |
163| [catch-error-name](docs/rules/catch-error-name.md) | Enforce a specific parameter name in catch clauses. | βœ… | πŸ”§ | |
164| [consistent-destructuring](docs/rules/consistent-destructuring.md) | Use destructured variables over properties. | βœ… | πŸ”§ | πŸ’‘ |
165| [consistent-function-scoping](docs/rules/consistent-function-scoping.md) | Move function definitions to the highest possible scope. | βœ… | | |
166| [custom-error-definition](docs/rules/custom-error-definition.md) | Enforce correct `Error` subclassing. | | πŸ”§ | |
167| [empty-brace-spaces](docs/rules/empty-brace-spaces.md) | Enforce no spaces between braces. | βœ… | πŸ”§ | |
168| [error-message](docs/rules/error-message.md) | Enforce passing a `message` value when creating a built-in error. | βœ… | | |
169| [escape-case](docs/rules/escape-case.md) | Require escape sequences to use uppercase values. | βœ… | πŸ”§ | |
170| [expiring-todo-comments](docs/rules/expiring-todo-comments.md) | Add expiration conditions to TODO comments. | βœ… | | |
171| [explicit-length-check](docs/rules/explicit-length-check.md) | Enforce explicitly comparing the `length` or `size` property of a value. | βœ… | πŸ”§ | πŸ’‘ |
172| [filename-case](docs/rules/filename-case.md) | Enforce a case style for filenames. | βœ… | | |
173| [import-index](docs/rules/import-index.md) | Enforce importing index files with `.`. | | πŸ”§ | |
174| [import-style](docs/rules/import-style.md) | Enforce specific import styles per module. | βœ… | | |
175| [new-for-builtins](docs/rules/new-for-builtins.md) | Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`. | βœ… | πŸ”§ | |
176| [no-abusive-eslint-disable](docs/rules/no-abusive-eslint-disable.md) | Enforce specifying rules to disable in `eslint-disable` comments. | βœ… | | |
177| [no-array-callback-reference](docs/rules/no-array-callback-reference.md) | Prevent passing a function reference directly to iterator methods. | βœ… | | πŸ’‘ |
178| [no-array-for-each](docs/rules/no-array-for-each.md) | Prefer `for…of` over `Array#forEach(…)`. | βœ… | πŸ”§ | |
179| [no-array-method-this-argument](docs/rules/no-array-method-this-argument.md) | Disallow using the `this` argument in array methods. | βœ… | πŸ”§ | πŸ’‘ |
180| [no-array-push-push](docs/rules/no-array-push-push.md) | Enforce combining multiple `Array#push()` into one call. | βœ… | πŸ”§ | πŸ’‘ |
181| [no-array-reduce](docs/rules/no-array-reduce.md) | Disallow `Array#reduce()` and `Array#reduceRight()`. | βœ… | | |
182| [no-console-spaces](docs/rules/no-console-spaces.md) | Do not use leading/trailing space between `console.log` parameters. | βœ… | πŸ”§ | |
183| [no-document-cookie](docs/rules/no-document-cookie.md) | Do not use `document.cookie` directly. | βœ… | | |
184| [no-empty-file](docs/rules/no-empty-file.md) | Disallow empty files. | βœ… | | |
185| [no-for-loop](docs/rules/no-for-loop.md) | Do not use a `for` loop that can be replaced with a `for-of` loop. | βœ… | πŸ”§ | |
186| [no-hex-escape](docs/rules/no-hex-escape.md) | Enforce the use of Unicode escapes instead of hexadecimal escapes. | βœ… | πŸ”§ | |
187| [no-instanceof-array](docs/rules/no-instanceof-array.md) | Require `Array.isArray()` instead of `instanceof Array`. | βœ… | πŸ”§ | |
188| [no-invalid-remove-event-listener](docs/rules/no-invalid-remove-event-listener.md) | Prevent calling `EventTarget#removeEventListener()` with the result of an expression. | βœ… | | |
189| [no-keyword-prefix](docs/rules/no-keyword-prefix.md) | Disallow identifiers starting with `new` or `class`. | | | |
190| [no-lonely-if](docs/rules/no-lonely-if.md) | Disallow `if` statements as the only statement in `if` blocks without `else`. | βœ… | πŸ”§ | |
191| [no-nested-ternary](docs/rules/no-nested-ternary.md) | Disallow nested ternary expressions. | βœ… | πŸ”§ | |
192| [no-new-array](docs/rules/no-new-array.md) | Disallow `new Array()`. | βœ… | πŸ”§ | πŸ’‘ |
193| [no-new-buffer](docs/rules/no-new-buffer.md) | Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`. | βœ… | πŸ”§ | πŸ’‘ |
194| [no-null](docs/rules/no-null.md) | Disallow the use of the `null` literal. | βœ… | πŸ”§ | πŸ’‘ |
195| [no-object-as-default-parameter](docs/rules/no-object-as-default-parameter.md) | Disallow the use of objects as default parameters. | βœ… | | |
196| [no-process-exit](docs/rules/no-process-exit.md) | Disallow `process.exit()`. | βœ… | | |
197| [no-static-only-class](docs/rules/no-static-only-class.md) | Forbid classes that only have static members. | βœ… | πŸ”§ | |
198| [no-this-assignment](docs/rules/no-this-assignment.md) | Disallow assigning `this` to a variable. | βœ… | | |
199| [no-unreadable-array-destructuring](docs/rules/no-unreadable-array-destructuring.md) | Disallow unreadable array destructuring. | βœ… | πŸ”§ | |
200| [no-unsafe-regex](docs/rules/no-unsafe-regex.md) | Disallow unsafe regular expressions. | | | |
201| [no-unused-properties](docs/rules/no-unused-properties.md) | Disallow unused object properties. | | | |
202| [no-useless-fallback-in-spread](docs/rules/no-useless-fallback-in-spread.md) | Forbid useless fallback when spreading in object literals. | βœ… | πŸ”§ | |
203| [no-useless-length-check](docs/rules/no-useless-length-check.md) | Disallow useless array length check. | βœ… | πŸ”§ | |
204| [no-useless-spread](docs/rules/no-useless-spread.md) | Disallow unnecessary spread. | βœ… | πŸ”§ | |
205| [no-useless-undefined](docs/rules/no-useless-undefined.md) | Disallow useless `undefined`. | βœ… | πŸ”§ | |
206| [no-zero-fractions](docs/rules/no-zero-fractions.md) | Disallow number literals with zero fractions or dangling dots. | βœ… | πŸ”§ | |
207| [number-literal-case](docs/rules/number-literal-case.md) | Enforce proper case for numeric literals. | βœ… | πŸ”§ | |
208| [numeric-separators-style](docs/rules/numeric-separators-style.md) | Enforce the style of numeric separators by correctly grouping digits. | βœ… | πŸ”§ | |
209| [prefer-add-event-listener](docs/rules/prefer-add-event-listener.md) | Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions. | βœ… | πŸ”§ | |
210| [prefer-array-find](docs/rules/prefer-array-find.md) | Prefer `.find(…)` over the first element from `.filter(…)`. | βœ… | πŸ”§ | πŸ’‘ |
211| [prefer-array-flat](docs/rules/prefer-array-flat.md) | Prefer `Array#flat()` over legacy techniques to flatten arrays. | βœ… | πŸ”§ | |
212| [prefer-array-flat-map](docs/rules/prefer-array-flat-map.md) | Prefer `.flatMap(…)` over `.map(…).flat()`. | βœ… | πŸ”§ | |
213| [prefer-array-index-of](docs/rules/prefer-array-index-of.md) | Prefer `Array#indexOf()` over `Array#findIndex()` when looking for the index of an item. | βœ… | πŸ”§ | πŸ’‘ |
214| [prefer-array-some](docs/rules/prefer-array-some.md) | Prefer `.some(…)` over `.filter(…).length` check and `.find(…)`. | βœ… | πŸ”§ | πŸ’‘ |
215| [prefer-at](docs/rules/prefer-at.md) | Prefer `.at()` method for index access and `String#charAt()`. | | πŸ”§ | πŸ’‘ |
216| [prefer-date-now](docs/rules/prefer-date-now.md) | Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch. | βœ… | πŸ”§ | |
217| [prefer-default-parameters](docs/rules/prefer-default-parameters.md) | Prefer default parameters over reassignment. | βœ… | πŸ”§ | πŸ’‘ |
218| [prefer-dom-node-append](docs/rules/prefer-dom-node-append.md) | Prefer `Node#append()` over `Node#appendChild()`. | βœ… | πŸ”§ | |
219| [prefer-dom-node-dataset](docs/rules/prefer-dom-node-dataset.md) | Prefer using `.dataset` on DOM elements over `.setAttribute(…)`. | βœ… | πŸ”§ | |
220| [prefer-dom-node-remove](docs/rules/prefer-dom-node-remove.md) | Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`. | βœ… | πŸ”§ | πŸ’‘ |
221| [prefer-dom-node-text-content](docs/rules/prefer-dom-node-text-content.md) | Prefer `.textContent` over `.innerText`. | βœ… | | πŸ’‘ |
222| [prefer-export-from](docs/rules/prefer-export-from.md) | Prefer `export…from` when re-exporting. | βœ… | πŸ”§ | |
223| [prefer-includes](docs/rules/prefer-includes.md) | Prefer `.includes()` over `.indexOf()` and `Array#some()` when checking for existence or non-existence. | βœ… | πŸ”§ | πŸ’‘ |
224| [prefer-keyboard-event-key](docs/rules/prefer-keyboard-event-key.md) | Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`. | βœ… | πŸ”§ | |
225| [prefer-math-trunc](docs/rules/prefer-math-trunc.md) | Enforce the use of `Math.trunc` instead of bitwise operators. | βœ… | πŸ”§ | πŸ’‘ |
226| [prefer-modern-dom-apis](docs/rules/prefer-modern-dom-apis.md) | Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`. | βœ… | πŸ”§ | |
227| [prefer-module](docs/rules/prefer-module.md) | Prefer JavaScript modules (ESM) over CommonJS. | βœ… | πŸ”§ | πŸ’‘ |
228| [prefer-negative-index](docs/rules/prefer-negative-index.md) | Prefer negative index over `.length - index` for `{String,Array,TypedArray}#slice()`, `Array#splice()` and `Array#at()`. | βœ… | πŸ”§ | |
229| [prefer-node-protocol](docs/rules/prefer-node-protocol.md) | Prefer using the `node:` protocol when importing Node.js builtin modules. | βœ… | πŸ”§ | |
230| [prefer-number-properties](docs/rules/prefer-number-properties.md) | Prefer `Number` static properties over global ones. | βœ… | πŸ”§ | πŸ’‘ |
231| [prefer-object-from-entries](docs/rules/prefer-object-from-entries.md) | Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object. | βœ… | πŸ”§ | |
232| [prefer-object-has-own](docs/rules/prefer-object-has-own.md) | Prefer `Object.hasOwn(…)` over `Object.prototype.hasOwnProperty.call(…)`. | | πŸ”§ | |
233| [prefer-optional-catch-binding](docs/rules/prefer-optional-catch-binding.md) | Prefer omitting the `catch` binding parameter. | βœ… | πŸ”§ | |
234| [prefer-prototype-methods](docs/rules/prefer-prototype-methods.md) | Prefer borrowing methods from the prototype instead of the instance. | βœ… | πŸ”§ | |
235| [prefer-query-selector](docs/rules/prefer-query-selector.md) | Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()`. | βœ… | πŸ”§ | |
236| [prefer-reflect-apply](docs/rules/prefer-reflect-apply.md) | Prefer `Reflect.apply()` over `Function#apply()`. | βœ… | πŸ”§ | |
237| [prefer-regexp-test](docs/rules/prefer-regexp-test.md) | Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`. | βœ… | πŸ”§ | |
238| [prefer-set-has](docs/rules/prefer-set-has.md) | Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence. | βœ… | πŸ”§ | πŸ’‘ |
239| [prefer-spread](docs/rules/prefer-spread.md) | Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#slice()` and `String#split('')`. | βœ… | πŸ”§ | πŸ’‘ |
240| [prefer-string-replace-all](docs/rules/prefer-string-replace-all.md) | Prefer `String#replaceAll()` over regex searches with the global flag. | | πŸ”§ | |
241| [prefer-string-slice](docs/rules/prefer-string-slice.md) | Prefer `String#slice()` over `String#substr()` and `String#substring()`. | βœ… | πŸ”§ | |
242| [prefer-string-starts-ends-with](docs/rules/prefer-string-starts-ends-with.md) | Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`. | βœ… | πŸ”§ | πŸ’‘ |
243| [prefer-string-trim-start-end](docs/rules/prefer-string-trim-start-end.md) | Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`. | βœ… | πŸ”§ | |
244| [prefer-switch](docs/rules/prefer-switch.md) | Prefer `switch` over multiple `else-if`. | βœ… | πŸ”§ | |
245| [prefer-ternary](docs/rules/prefer-ternary.md) | Prefer ternary expressions over simple `if-else` statements. | βœ… | πŸ”§ | |
246| [prefer-top-level-await](docs/rules/prefer-top-level-await.md) | Prefer top-level await over top-level promises and async function calls. | | | πŸ’‘ |
247| [prefer-type-error](docs/rules/prefer-type-error.md) | Enforce throwing `TypeError` in type checking conditions. | βœ… | πŸ”§ | |
248| [prevent-abbreviations](docs/rules/prevent-abbreviations.md) | Prevent abbreviations. | βœ… | πŸ”§ | |
249| [require-array-join-separator](docs/rules/require-array-join-separator.md) | Enforce using the separator argument with `Array#join()`. | βœ… | πŸ”§ | |
250| [require-number-to-fixed-digits-argument](docs/rules/require-number-to-fixed-digits-argument.md) | Enforce using the digits argument with `Number#toFixed()`. | βœ… | πŸ”§ | |
251| [require-post-message-target-origin](docs/rules/require-post-message-target-origin.md) | Enforce using the `targetOrigin` argument with `window.postMessage()`. | βœ… | | πŸ’‘ |
252| [string-content](docs/rules/string-content.md) | Enforce better string content. | | πŸ”§ | πŸ’‘ |
253| [template-indent](docs/rules/template-indent.md) | Fix whitespace-insensitive template indentation. | | πŸ”§ | |
254| [throw-new-error](docs/rules/throw-new-error.md) | Require `new` when throwing an error. | βœ… | πŸ”§ | |
255
256<!-- RULES_TABLE_END -->
257
258## Deprecated Rules
259
260See [docs/deprecated-rules.md](docs/deprecated-rules.md)
261
262## Recommended config
263
264This plugin exports a [`recommended` config](configs/recommended.js) that enforces good practices.
265
266Enable it in your `package.json` with the `extends` option:
267
268```json
269{
270 "name": "my-awesome-project",
271 "eslintConfig": {
272 "extends": "plugin:unicorn/recommended"
273 }
274}
275```
276
277See the [ESLint docs](https://eslint.org/docs/user-guide/configuring/configuration-files#extending-configuration-files) for more information about extending config files.
278
279**Note**: This config will also enable the correct [parser options](https://eslint.org/docs/user-guide/configuring/language-options#specifying-parser-options) and [environment](https://eslint.org/docs/user-guide/configuring/language-options#specifying-environments).
280
281## All config
282
283This plugin exports an [`all` config](configs/all.js) that makes use of all rules (except for deprecated ones).
284
285Enable it in your `package.json` with the `extends` option:
286
287```json
288{
289 "name": "my-awesome-project",
290 "eslintConfig": {
291 "extends": "plugin:unicorn/all"
292 }
293}
294```
295
296See the [ESLint docs](https://eslint.org/docs/user-guide/configuring/configuration-files#extending-configuration-files) for more information about extending config files.
297
298## Maintainers
299
300- [Sindre Sorhus](https://github.com/sindresorhus)
301- [Adam Babcock](https://github.com/MrHen)
302- [futpib](https://github.com/futpib)
303- [Fisker Cheung](https://github.com/fisker)
304
305###### Former
306
307- [Jeroen Engels](https://github.com/jfmengels)
308- [Sam Verschueren](https://github.com/SamVerschueren)