]> git.proxmox.com Git - pve-eslint.git/blobdiff - eslint/docs/rules/no-path-concat.md
upgrade to v7.0.0
[pve-eslint.git] / eslint / docs / rules / no-path-concat.md
index 998ec10d9785c586b00126c6f98f019fc6953820..fddf27b9e450436acbdc5143aac778a5ffdc5bda 100644 (file)
@@ -1,5 +1,7 @@
 # Disallow string concatenation when using `__dirname` and `__filename` (no-path-concat)
 
+This rule was **deprecated** in ESLint v7.0.0. Please use the corresponding rule in [`eslint-plugin-node`](https://github.com/mysticatea/eslint-plugin-node).
+
 In Node.js, the `__dirname` and `__filename` global variables contain the directory path and the file path of the currently executing script file, respectively. Sometimes, developers try to use these variables to create paths to other files, such as:
 
 ```js