Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-plugin-chai-friendly

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-chai-friendly - npm Package Compare versions

Comparing version 0.4.1 to 0.5.0

.editorconfig

12

lib/index.js

@@ -8,2 +8,11 @@ /**

module.exports = {
configs: {
recommended: {
plugins: ['chai-friendly'],
rules: {
'chai-friendly/no-unused-expressions': 'error',
'no-unused-expressions': 'off'
}
}
},
rules: {

@@ -13,4 +22,1 @@ 'no-unused-expressions': require('./rules/no-unused-expressions')

};

@@ -155,3 +155,3 @@ /**

return null;
};
}

@@ -196,3 +196,3 @@ /**

return null;
};
}

@@ -212,2 +212,2 @@

}
};
};
{
"name": "eslint-plugin-chai-friendly",
"version": "0.4.1",
"version": "0.5.0",
"description": "This plugin makes 'no-unused-expressions' rule friendly towards chai expect statements.",

@@ -21,4 +21,8 @@ "keywords": [

"author": "Ihor Diachenko",
"contributors": [
"Brett Zamir"
],
"main": "lib/index.js",
"scripts": {
"lint": "eslint .",
"test": "mocha tests --recursive"

@@ -31,4 +35,4 @@ },

"devDependencies": {
"eslint": "~3.11.0",
"mocha": "^3.0.2"
"eslint": "~6.6.0",
"mocha": "^6.2.2"
},

@@ -35,0 +39,0 @@ "engines": {

@@ -35,3 +35,3 @@ # eslint-plugin-chai-friendly

Add `chai-friendly` to the plugins section of your `.eslintrc` configuration file. You can omit the `eslint-plugin-` prefix:
Add `chai-friendly` to the plugins section of your `.eslintrc.*` configuration file. You can omit the `eslint-plugin-` prefix:

@@ -58,2 +58,12 @@ ```json

If you don't need to tweak the above rule settings, you can instead
just add the following to your config file's `extends` and the above
will be applied automatically:
```json
{
"extends": ["plugin:chai-friendly/recommended"]
}
```
## Options

@@ -73,2 +83,2 @@

- chai-friendly/no-unused-expressions
- `chai-friendly/no-unused-expressions`

@@ -137,2 +137,2 @@ /**

]
});
});
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc