Socket
Book a DemoInstallSign in
Socket

@discourse/lint-configs

Package Overview
Dependencies
Maintainers
7
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@discourse/lint-configs

Shareable lint configs for Discourse core, plugins, and themes

latest
Source
npmnpm
Version
2.31.0
Version published
Weekly downloads
12K
-29.46%
Maintainers
7
Weekly downloads
 
Created
Source

@discourse/lint-configs

Shareable lint configs for Discourse core, plugins, and themes

Usage

Add @discourse/lint-configs to package.json, and create these three files:

eslint.config.mjs

import DiscourseRecommended from "@discourse/lint-configs/eslint";
export default [...DiscourseRecommended];

or in themes/theme components:

import DiscourseThemeRecommended from "@discourse/lint-configs/eslint-theme";
export default [...DiscourseThemeRecommended];

.prettierrc.cjs

module.exports = require("@discourse/lint-configs/prettier");

stylelint.config.mjs

export default {
  extends: ["@discourse/lint-configs/stylelint"],
};

.template-lintrc.cjs

module.exports = require("@discourse/lint-configs/template-lint");

Keywords

discourse

FAQs

Package last updated on 07 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts