eslint-plugin-n
Advanced tools
Comparing version 16.6.0 to 16.6.1
@@ -10,5 +10,5 @@ "use strict" | ||
node: true, | ||
es2021: true, | ||
}, | ||
globals: { | ||
...globals.es2021, | ||
__dirname: "off", | ||
@@ -40,3 +40,2 @@ __filename: "off", | ||
...globals.node, | ||
...globals.es2021, | ||
...module.exports.eslintrc.globals, | ||
@@ -43,0 +42,0 @@ }, |
@@ -10,5 +10,5 @@ "use strict" | ||
node: true, | ||
es2021: true, | ||
}, | ||
globals: { | ||
...globals.es2021, | ||
__dirname: "readonly", | ||
@@ -37,3 +37,2 @@ __filename: "readonly", | ||
...globals.node, | ||
...globals.es2021, | ||
...module.exports.eslintrc.globals, | ||
@@ -40,0 +39,0 @@ }, |
@@ -15,5 +15,8 @@ "use strict" | ||
const sourceFileExt = path.extname( | ||
context.physicalFilename ?? context.getPhysicalFilename() | ||
context.physicalFilename ?? | ||
context.getPhysicalFilename?.() ?? | ||
context.filename ?? | ||
context.getFilename?.() | ||
) | ||
return typescriptExtensions.includes(sourceFileExt) | ||
} |
{ | ||
"name": "eslint-plugin-n", | ||
"version": "16.6.0", | ||
"version": "16.6.1", | ||
"description": "Additional ESLint's rules for Node.js", | ||
@@ -5,0 +5,0 @@ "engines": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
347617
9685