eslint-plugin-botland
Advanced tools
Comparing version 1.1.0 to 1.2.0
@@ -17,3 +17,39 @@ "use strict"; | ||
'WeakMap', | ||
'WeakSet' | ||
'WeakSet', | ||
'console', | ||
'parseInt', | ||
'parseFloat', | ||
'isNaN', | ||
'ArrayBuffer', | ||
'Function', | ||
'AsyncFunction', | ||
'Atomics', | ||
'DataView', | ||
'Date', | ||
'Error', | ||
'Float32Array', | ||
'Float64Array', | ||
'Generator', | ||
'GeneratorFunction', | ||
'Int16Array', | ||
'Int32Array', | ||
'Int8Array', | ||
'Intl', | ||
'JSON', | ||
'Proxy', | ||
'RegExp', | ||
'SharedArrayBuffer', | ||
'SyntaxError', | ||
'TypeError', | ||
'TypedArray', | ||
'Uint16Array', | ||
'Uint32Array', | ||
'Uint8Array', | ||
'Uint8ClampedArray', | ||
'decodeURI', | ||
'decodeURIComponent', | ||
'encodeURI', | ||
'encodeURIComponent', | ||
'isFinite', | ||
'eval' | ||
]; | ||
@@ -44,2 +80,3 @@ | ||
"botland/use-array-variables": "error", | ||
"botland/code-length": "error", | ||
"botland/no-terminator-in-init": "warn", | ||
@@ -46,0 +83,0 @@ "botland/prefer-function": "warn" |
@@ -8,2 +8,3 @@ "use strict"; | ||
//"use-guarded-terminator": require("./rules/use-guarded-terminator"), terminators must have an if around them | ||
"code-length": require("./rules/code-length"), | ||
"use-array-variables": require("./rules/use-array-variables"), | ||
@@ -10,0 +11,0 @@ "only-global-function-declaration": require("./rules/only-global-function-declaration"), |
{ | ||
"name": "eslint-plugin-botland", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "Lint your botland JS scripts", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -8,2 +8,4 @@ # eslint-plugin-botland | ||
## Rules | ||
- `code-length` | ||
Bot Land scripts can at most have 15000 characters | ||
- `entry-point` | ||
@@ -29,2 +31,4 @@ Check that the script has the required `update` function. Marks all entry points as used. | ||
be able to check number of args, type of literals and direction literals. | ||
- `no-unassigned` Check for variables to be set somewhere at some point if they aren't global. | ||
- `array-size` Arrays can only have 100 items. | ||
@@ -38,2 +42,3 @@ ## Configs | ||
|------------------------------------|---------| | ||
| `code-length` | error | | ||
| `entry-point` | error | | ||
@@ -40,0 +45,0 @@ | `no-unsupported-syntax` | error | |
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
21450
13
545
47