New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

eslint-plugin-moka

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-moka - npm Package Compare versions

Comparing version

to
0.0.5

lib/rules/no-global-assign.js

4

CHANGELOG.md

@@ -5,2 +5,6 @@ Changelog

## 0.0.5
- Add rule "no-global-assign"([#4](https://github.com/southerncross/eslint-plugin-moka/pull/4))
## 0.0.4

@@ -7,0 +11,0 @@

2

package.json
{
"name": "eslint-plugin-moka",
"version": "0.0.4",
"version": "0.0.5",
"description": "Eslint Plugin of Moka",

@@ -5,0 +5,0 @@ "keywords": [

@@ -67,1 +67,7 @@ # eslint-plugin-moka

```
* no-global-assign - Forbid assigning variable to window/global.
```js
window.userId = 123; // You may not want to assign variable to window/global
```