DEV: Update linting (#78)

This commit is contained in:
David Taylor 2024-03-27 17:19:45 +00:00 committed by GitHub
parent 20c82ff322
commit 90463b7157
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 3484 additions and 0 deletions

1
.eslintrc.cjs Normal file
View File

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

11
.github/workflows/discourse-theme.yml vendored Normal file
View File

@ -0,0 +1,11 @@
name: Discourse Theme
on:
push:
branches:
- main
pull_request:
jobs:
ci:
uses: discourse/.github/.github/workflows/discourse-theme.yml@v1

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
node_modules
.discourse-site

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

9
package.json Normal file
View File

@ -0,0 +1,9 @@
{
"private": true,
"devDependencies": {
"@discourse/lint-configs": "^1.3.7",
"ember-template-lint": "^5.13.0",
"eslint": "^8.56.0",
"prettier": "^2.8.8"
}
}

3459
yarn.lock Normal file

File diff suppressed because it is too large Load Diff