mirror of
https://github.com/discourse/discourse-custom-header-links.git
synced 2025-03-09 14:18:22 +00:00
DEV: Update linting
This commit is contained in:
parent
06cf2c92ba
commit
4354a00738
@ -1,8 +0,0 @@
|
||||
{
|
||||
"extends": "eslint-config-discourse",
|
||||
"ignorePatterns": ["javascripts/vendor/*"],
|
||||
"globals": {
|
||||
"settings": "readonly",
|
||||
"themePrefix": "readonly"
|
||||
}
|
||||
}
|
1
.eslintrc.cjs
Normal file
1
.eslintrc.cjs
Normal file
@ -0,0 +1 @@
|
||||
module.exports = require("@discourse/lint-configs/eslint-theme");
|
@ -1 +0,0 @@
|
||||
{}
|
1
.prettierrc.cjs
Normal file
1
.prettierrc.cjs
Normal file
@ -0,0 +1 @@
|
||||
module.exports = require("@discourse/lint-configs/prettier");
|
1
.template-lintrc.cjs
Normal file
1
.template-lintrc.cjs
Normal file
@ -0,0 +1 @@
|
||||
module.exports = require("@discourse/lint-configs/template-lint");
|
@ -1,4 +0,0 @@
|
||||
module.exports = {
|
||||
plugins: ["ember-template-lint-plugin-discourse"],
|
||||
extends: "discourse:recommended",
|
||||
};
|
@ -5,6 +5,9 @@
|
||||
"author": "Discourse",
|
||||
"license": "GPL-2.0-or-later",
|
||||
"devDependencies": {
|
||||
"eslint-config-discourse": "^3.2.0"
|
||||
"@discourse/lint-configs": "^1.2.0",
|
||||
"ember-template-lint": "^5.13.0",
|
||||
"eslint": "^8.54.0",
|
||||
"prettier": "^2.8.8"
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user