Launch Week Day 2: Introducing Reports: An Extensible Reporting Framework for Socket Data.Learn More
Socket
Book a DemoSign in
Socket

@discourse/lint-configs

Package Overview
Dependencies
Maintainers
7
Versions
83
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.45.0
Version published
Maintainers
7
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 10 Apr 2026

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