]> git.proxmox.com Git - pve-eslint.git/blobdiff - eslint/lib/rules/no-sync.js
import 8.23.1 source
[pve-eslint.git] / eslint / lib / rules / no-sync.js
index 06424e0b38f33fb39e993d253b405f0d53707355..71360c6bd3238fa41f5ac9ecacf977a4537a7fce 100644 (file)
@@ -1,16 +1,16 @@
 /**
  * @fileoverview Rule to check for properties whose identifier ends with the string Sync
  * @author Matt DuVall<http://mattduvall.com/>
+ * @deprecated in ESLint v7.0.0
  */
 
-/* jshint node:true */
-
 "use strict";
 
 //------------------------------------------------------------------------------
 // Rule Definition
 //------------------------------------------------------------------------------
 
+/** @type {import('../shared/types').Rule} */
 module.exports = {
     meta: {
         deprecated: true,
@@ -20,8 +20,7 @@ module.exports = {
         type: "suggestion",
 
         docs: {
-            description: "disallow synchronous methods",
-            category: "Node.js and CommonJS",
+            description: "Disallow synchronous methods",
             recommended: false,
             url: "https://eslint.org/docs/rules/no-sync"
         },