# Any way to use plugins with nrlint?

**URL:** https://discourse.nodered.org/t/any-way-to-use-plugins-with-nrlint/94743
**Category:** General
**Created:** [19 January 2025 18:57 UTC](https://discourse.nodered.org/t/any-way-to-use-plugins-with-nrlint/94743 "2025-01-19T18:57:46Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![ThingsTinkerer](https://avatars.discourse-cdn.com/v4/letter/t/91b2a8/32.png) [@ThingsTinkerer](https://discourse.nodered.org/u/ThingsTinkerer)
#### Post date: [19 January 2025 18:57 UTC](https://discourse.nodered.org/t/any-way-to-use-plugins-with-nrlint/94743/1 "2025-01-19T18:57:46Z")

</div>

Was trying to add an eslint rule but found it was deprecated and moved to a separate "stylistic" plugin. Tried adding this to nrlint, but to no effect. Anyone knows how to add it? Is it even possible?

[@stylistic/eslint-plugin-js - npm](https://www.npmjs.com/package/@stylistic/eslint-plugin-js)

Seems like eslint is moving away from formatting and focus more about core language linting.  
[Deprecation of formatting rules - ESLint - Pluggable JavaScript Linter](https://eslint.org/blog/2023/10/deprecating-formatting-rules/)

PS: Node-RED supporting a formatter like prettier would be really great.

---

<div class="post-metadata">

### Author: ![ThingsTinkerer](https://avatars.discourse-cdn.com/v4/letter/t/91b2a8/32.png) [@ThingsTinkerer](https://discourse.nodered.org/u/ThingsTinkerer)
#### Post date: [20 January 2025 11:42 UTC](https://discourse.nodered.org/t/any-way-to-use-plugins-with-nrlint/94743/2 "2025-01-20T11:42:53Z")

</div>

Tried adding `plugins` to .nrlintrc.js:

```auto
module.exports = {
    plugins: ["@stylistic/eslint-plugin-js"],
    "rules": {
        "align-to-grid": true,
        "@stylistic/js/quote-props": ["warn", "as-needed", { "keywords": true, "unnecessary": true, "numbers": true }],
...

```

It runs, but doesn't detect according to the rule.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [20 April 2025 11:43 UTC](https://discourse.nodered.org/t/any-way-to-use-plugins-with-nrlint/94743/3 "2025-04-20T11:43:31Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
