@discourse/lint-configs

1.3.8 • Public • Published

@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");

Readme

Keywords

Package Sidebar

Install

npm i @discourse/lint-configs

Weekly Downloads

7,259

Version

1.3.8

License

MIT

Unpacked Size

12.4 kB

Total Files

8

Last publish

Collaborators

  • keegangeorge
  • davidtaylorhq
  • sam.saffron
  • discourse-npm
  • cvx-pl
  • joffreyjaffeux
  • pmusaraj