You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@adonisjs/eslint-plugin

Package Overview
Dependencies
Maintainers
3
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@adonisjs/eslint-plugin - npm Package Compare versions

Comparing version

to
2.0.0-beta.4

2

build/index.d.ts

@@ -6,2 +6,3 @@ declare const _default: {

recommended: string;
url: string;
}, import("@typescript-eslint/utils/ts-eslint").RuleListener>;

@@ -11,2 +12,3 @@ 'prefer-lazy-listener-import': import("@typescript-eslint/utils/ts-eslint").RuleModule<"preferLazyListenerImport", [], {

recommended: string;
url: string;
}, import("@typescript-eslint/utils/ts-eslint").RuleListener>;

@@ -13,0 +15,0 @@ };

6

build/index.js

@@ -17,3 +17,4 @@ // src/rules/prefer_lazy_listener_import.ts

description: "(Needed for HMR) Prefer lazy listener import over standard import",
recommended: "recommended"
recommended: "recommended",
url: "https://github.com/adonisjs/eslint-plugin-adonisjs?tab=readme-ov-file#prefer-lazy-listener-import"
},

@@ -91,3 +92,4 @@ schema: [],

description: "(Needed for HMR) Prefer lazy controller import over standard import",
recommended: "recommended"
recommended: "recommended",
url: "https://github.com/adonisjs/eslint-plugin-adonisjs?tab=readme-ov-file#prefer-lazy-controller-import"
},

@@ -94,0 +96,0 @@ schema: [],

@@ -7,3 +7,4 @@ /**

recommended: string;
url: string;
}, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
export default _default;

@@ -7,3 +7,4 @@ /**

recommended: string;
url: string;
}, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
export default _default;

@@ -5,5 +5,7 @@ import { ESLintUtils } from '@typescript-eslint/utils';

recommended: string;
url: string;
}>>) => ESLintUtils.RuleModule<MessageIds, Options, {
description: string;
recommended: string;
url: string;
}, ESLintUtils.RuleListener>;
{
"name": "@adonisjs/eslint-plugin",
"description": "ESLint plugin to enforce AdonisJS app specific linting rules",
"version": "2.0.0-beta.3",
"version": "2.0.0-beta.4",
"engines": {

@@ -6,0 +6,0 @@ "node": ">=20.6.0"

@@ -59,2 +59,5 @@ # @adonisjs/eslint-plugin

> [!IMPORTANT]
> The HMR mode of AdonisJS only works with Lazy loaded controllers
The `@adonisjs/prefer-lazy-controller-import` rule complains when you import a controller using the import expression and assign it to a route. For example:

@@ -83,2 +86,5 @@

> [!IMPORTANT]
> The HMR mode of AdonisJS only works with Lazy loaded event listeners
The `@adonisjs/prefer-lazy-listener-import` rule complains when you import an event listener using the import expression and assign it to an event. For example:

@@ -85,0 +91,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.