DEV: Update linting (#43)

This commit is contained in:
Jarek Radosz 2023-11-29 23:05:02 +01:00 committed by GitHub
parent 06cf2c92ba
commit 66ee681eff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 1051 additions and 848 deletions

View File

@ -1,8 +0,0 @@
{
"extends": "eslint-config-discourse",
"ignorePatterns": ["javascripts/vendor/*"],
"globals": {
"settings": "readonly",
"themePrefix": "readonly"
}
}

1
.eslintrc.cjs Normal file
View File

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

View File

@ -1 +0,0 @@
{}

1
.prettierrc.cjs Normal file
View File

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

1
.template-lintrc.cjs Normal file
View File

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

View File

@ -1,4 +0,0 @@
module.exports = {
plugins: ["ember-template-lint-plugin-discourse"],
extends: "discourse:recommended",
};

View File

@ -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"
}
}

1878
yarn.lock

File diff suppressed because it is too large Load Diff