]> git.proxmox.com Git - pve-eslint.git/blobdiff - eslint/docs/rules/no-empty-function.md
import 8.4.0 source
[pve-eslint.git] / eslint / docs / rules / no-empty-function.md
index 0f8691c82d3b1243289c13753b96288c06eaa35b..19110312a64aaedd6bb91fb7379246ac1d57fdc5 100644 (file)
@@ -180,7 +180,7 @@ This rule has an option to allow specific kinds of functions to be empty.
     * `"asyncFunctions"` - Async functions.
     * `"asyncMethods"` - Async class methods and method shorthands of object literals.
 
-#### allow: functions
+### allow: functions
 
 Examples of **correct** code for the `{ "allow": ["functions"] }` option:
 
@@ -196,7 +196,7 @@ var obj = {
 };
 ```
 
-#### allow: arrowFunctions
+### allow: arrowFunctions
 
 Examples of **correct** code for the `{ "allow": ["arrowFunctions"] }` option:
 
@@ -207,7 +207,7 @@ Examples of **correct** code for the `{ "allow": ["arrowFunctions"] }` option:
 var foo = () => {};
 ```
 
-#### allow: generatorFunctions
+### allow: generatorFunctions
 
 Examples of **correct** code for the `{ "allow": ["generatorFunctions"] }` option:
 
@@ -224,7 +224,7 @@ var obj = {
 };
 ```
 
-#### allow: methods
+### allow: methods
 
 Examples of **correct** code for the `{ "allow": ["methods"] }` option:
 
@@ -242,7 +242,7 @@ class A {
 }
 ```
 
-#### allow: generatorMethods
+### allow: generatorMethods
 
 Examples of **correct** code for the `{ "allow": ["generatorMethods"] }` option:
 
@@ -260,7 +260,7 @@ class A {
 }
 ```
 
-#### allow: getters
+### allow: getters
 
 Examples of **correct** code for the `{ "allow": ["getters"] }` option:
 
@@ -278,7 +278,7 @@ class A {
 }
 ```
 
-#### allow: setters
+### allow: setters
 
 Examples of **correct** code for the `{ "allow": ["setters"] }` option:
 
@@ -296,7 +296,7 @@ class A {
 }
 ```
 
-#### allow: constructors
+### allow: constructors
 
 Examples of **correct** code for the `{ "allow": ["constructors"] }` option:
 
@@ -309,7 +309,7 @@ class A {
 }
 ```
 
-#### allow: asyncFunctions
+### allow: asyncFunctions
 
 Examples of **correct** code for the `{ "allow": ["asyncFunctions"] }` options:
 
@@ -320,7 +320,7 @@ Examples of **correct** code for the `{ "allow": ["asyncFunctions"] }` options:
 async function a(){}
 ```
 
-#### allow: asyncMethods
+### allow: asyncMethods
 
 Examples of **correct** code for the `{ "allow": ["asyncMethods"] }` options: