Socket
Socket
Sign inDemoInstall

@discourse/lint-configs

Package Overview
Dependencies
414
Maintainers
6
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @discourse/lint-configs

Shareable lint configs for Discourse core, plugins, and themes


Version published
Weekly downloads
4.4K
increased by0.77%
Maintainers
6
Created
Weekly downloads
 

Readme

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:

.eslintrc.cjs

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

or in themes/theme components:

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

.prettierrc.cjs

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

.template-lintrc.cjs

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

Keywords

FAQs

Last updated on 08 Apr 2024

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc