firescript-linter
Advanced tools
Comparing version 0.6.6 to 0.6.7
{ | ||
"name": "firescript-linter", | ||
"version": "0.6.6", | ||
"version": "0.6.7", | ||
"description": "Linter for Firescript", | ||
@@ -5,0 +5,0 @@ "main": "app.js", |
@@ -31,3 +31,3 @@ const LinterNode = require('./LinterNode').LinterNode | ||
'queueMicrotask', | ||
['require', 'str'], | ||
['require', { name: 'modulePath', typing: 'str' }], | ||
'setImmediate', | ||
@@ -107,3 +107,3 @@ 'setInterval', | ||
const [name, ...params] = fn | ||
globalScope.set(fn, { | ||
globalScope.set(name, { | ||
kind: 'func', | ||
@@ -110,0 +110,0 @@ name, |
@@ -47,2 +47,3 @@ const { LinterNode } = require('../LinterNode') | ||
// Check argument typing | ||
console.log('SF', scopeFunction) | ||
if (scopeFunction && scopeFunction.params && !this.validateNodeTyping(argument, scopeFunction.params[index].typing)) { | ||
@@ -49,0 +50,0 @@ this.lintException(new ArgumentTypingError(argument, scopeFunction, index)) |
Sorry, the diff of this file is not supported yet
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
60457
1794