Skip to content

Commit

Permalink
Temp
Browse files Browse the repository at this point in the history
  • Loading branch information
reupen committed Sep 24, 2023
1 parent f4c8b1c commit 2e4021f
Show file tree
Hide file tree
Showing 7 changed files with 2,960 additions and 273 deletions.
36 changes: 36 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
module.exports = {
env: {
node: true,
es2021: true,
},
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/stylistic",
"plugin:astro/recommended",
"prettier",
],
overrides: [
{
files: [".eslintrc.{js,cjs}"],
parserOptions: {
sourceType: "script",
},
},
{
files: ["*.astro"],
parser: "astro-eslint-parser",
parserOptions: {
parser: "@typescript-eslint/parser",
extraFileExtensions: [".astro"],
},
},
],
parser: "@typescript-eslint/parser",
parserOptions: {
ecmaVersion: "latest",
sourceType: "module",
},
plugins: ["@typescript-eslint"],
rules: {},
}
6 changes: 6 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,15 @@ jobs:
- name: Install Node.js dependencies
run: npm ci

- name: Check formatting
run: npm run format:check

- name: Run Astro check
run: npm run check

- name: Lint
run: npm run lint

build-site:
name: Build site
runs-on: ubuntu-latest
Expand Down
Loading

0 comments on commit 2e4021f

Please sign in to comment.