summaryrefslogtreecommitdiff
path: root/tools/node_modules/eslint/lib/rules/no-tabs.js
diff options
context:
space:
mode:
authorNode.js GitHub Bot <github-bot@iojs.org>2023-05-09 07:38:21 +0100
committerGitHub <noreply@github.com>2023-05-09 06:38:21 +0000
commitbf8dd3f293acc913016ff20196a07a8d90860d63 (patch)
tree83933a9ce097058a03cff1dc8d5709142b21bcd5 /tools/node_modules/eslint/lib/rules/no-tabs.js
parent0b3fcfcf351fba9f29234976eeec4afb09ae2cc0 (diff)
downloadnode-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/no-tabs.js')
-rw-r--r--tools/node_modules/eslint/lib/rules/no-tabs.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/node_modules/eslint/lib/rules/no-tabs.js b/tools/node_modules/eslint/lib/rules/no-tabs.js
index 1b4834e09a..b33690c244 100644
--- a/tools/node_modules/eslint/lib/rules/no-tabs.js
+++ b/tools/node_modules/eslint/lib/rules/no-tabs.js
@@ -24,7 +24,7 @@ module.exports = {
docs: {
description: "Disallow all tabs",
recommended: false,
- url: "https://eslint.org/docs/rules/no-tabs"
+ url: "https://eslint.org/docs/latest/rules/no-tabs"
},
schema: [{
type: "object",
@@ -43,7 +43,7 @@ module.exports = {
},
create(context) {
- const sourceCode = context.getSourceCode();
+ const sourceCode = context.sourceCode;
const allowIndentationTabs = context.options && context.options[0] && context.options[0].allowIndentationTabs;
return {