diff options
author | Node.js GitHub Bot <github-bot@iojs.org> | 2023-05-09 07:38:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-09 06:38:21 +0000 |
commit | bf8dd3f293acc913016ff20196a07a8d90860d63 (patch) | |
tree | 83933a9ce097058a03cff1dc8d5709142b21bcd5 /tools/node_modules/eslint/lib/rules/new-cap.js | |
parent | 0b3fcfcf351fba9f29234976eeec4afb09ae2cc0 (diff) | |
download | node-new-bf8dd3f293acc913016ff20196a07a8d90860d63.tar.gz |
tools: update eslint to 8.40.0
PR-URL: https://github.com/nodejs/node/pull/47906
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Mestery <mestery@protonmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'tools/node_modules/eslint/lib/rules/new-cap.js')
-rw-r--r-- | tools/node_modules/eslint/lib/rules/new-cap.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/node_modules/eslint/lib/rules/new-cap.js b/tools/node_modules/eslint/lib/rules/new-cap.js index 7e0b21eafb..f81e42fd0c 100644 --- a/tools/node_modules/eslint/lib/rules/new-cap.js +++ b/tools/node_modules/eslint/lib/rules/new-cap.js @@ -84,7 +84,7 @@ module.exports = { docs: { description: "Require constructor names to begin with a capital letter", recommended: false, - url: "https://eslint.org/docs/rules/new-cap" + url: "https://eslint.org/docs/latest/rules/new-cap" }, schema: [ @@ -147,7 +147,7 @@ module.exports = { const listeners = {}; - const sourceCode = context.getSourceCode(); + const sourceCode = context.sourceCode; //-------------------------------------------------------------------------- // Helpers |