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

eslint-plugin-kyt

Package Overview
Dependencies
Maintainers
4
Versions
147
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-kyt - npm Package Compare versions

Comparing version 1.3.2 to 1.4.0

lib/rules/no-immediate-return.js

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

# [1.4.0](https://github.com/nytimes/kyt/compare/eslint-plugin-kyt@1.3.2...eslint-plugin-kyt@1.4.0) (2021-04-15)
### Features
* **lint:** new rule, no-immediate-return ([#748](https://github.com/nytimes/kyt/issues/748)) ([e73fc98](https://github.com/nytimes/kyt/commit/e73fc980b65752310d861307d30864427ed4f3cb))
## [1.3.2](https://github.com/nytimes/kyt/compare/eslint-plugin-kyt@1.3.1...eslint-plugin-kyt@1.3.2) (2021-03-31)

@@ -8,0 +19,0 @@

6

lib/index.js

@@ -0,11 +1,13 @@

const cssInJsNamespace = require('./rules/css-in-js-namespace').rule;
const defaultProps = require('./rules/default-props').rule;
const cssInJsNamespace = require('./rules/css-in-js-namespace').rule;
const noDirectMomentImport = require('./rules/no-direct-moment-import').rule;
const noImmediateReturn = require('./rules/no-immediate-return').rule;
const validateDoubleUnderscoreDirs = require('./rules/validate-double-underscore-dirs').rule;
exports.rules = {
'css-in-js-namespace': cssInJsNamespace,
'default-props': defaultProps,
'css-in-js-namespace': cssInJsNamespace,
'no-direct-moment-import': noDirectMomentImport,
'no-immediate-return': noImmediateReturn,
'validate-double-underscore-dirs': validateDoubleUnderscoreDirs,
};
{
"name": "eslint-plugin-kyt",
"version": "1.3.2",
"version": "1.4.0",
"description": "ESLint plugin for Vi-specific rules.",

@@ -17,3 +17,3 @@ "main": "lib/index.js",

"devDependencies": {
"babel-preset-kyt-react": "1.3.2",
"babel-preset-kyt-react": "1.3.3",
"mocha": "8.3.2"

@@ -24,3 +24,3 @@ },

},
"gitHead": "4cae4415b1b7831e042543b9a8f61d9f65401edf"
"gitHead": "247a5d9fcb7dace5c4ff3fd906fafa13d201c689"
}
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