Shareable lint configs for Discourse core, plugins, and themes
Add @discourse/lint-configs
to package.json, and create these three files:
module.exports = require("@discourse/lint-configs/eslint");
or in themes/theme components:
module.exports = require("@discourse/lint-configs/eslint-theme");
module.exports = require("@discourse/lint-configs/prettier");
module.exports = require("@discourse/lint-configs/template-lint");