Skip to content

Commit

Permalink
Merge pull request #49 from hildjj/update-peggy
Browse files Browse the repository at this point in the history
Update Peggy to 4.0
  • Loading branch information
hildjj authored Feb 13, 2024
2 parents ef36eda + 806a5af commit ba7d071
Show file tree
Hide file tree
Showing 7 changed files with 304 additions and 161 deletions.
14 changes: 0 additions & 14 deletions .eslintrc.cjs

This file was deleted.

9 changes: 5 additions & 4 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,17 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
cache: npm

- name: Install
run: npm install

- name: Lint & Compile
run: npm run compile
run: npm run build

- name: Package
run: |
Expand Down
18 changes: 10 additions & 8 deletions .vscodeignore
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
.vscode/**
node_modules/**
images/*.svg
.github/
.gitignore
.vscode/**
**/*.map
**/*.ts
**/*.vsix
**/*webpack.config.js
**/out/test/**
**/test/**
**/src/**
**/*.map
**/test/**
**/tsconfig.json
**/tsconfig.tsbuildinfo
**/*.vsix
**/*webpack.config.js
.github/
eslint.config.js
images/*.svg
node_modules/**
PUBLISHING
19 changes: 19 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
"use strict";

module.exports = [
{
ignores: [
"out/**",
],
},
{
...require("@peggyjs/eslint-config/flat/js"),
languageOptions: {
globals: require("@peggyjs/eslint-config/flat/globals").node,
ecmaVersion: 2022,
sourceType: "commonjs",
},
},
require("@peggyjs/eslint-config/flat/mocha"),
require("@peggyjs/eslint-config/flat/ts"),
];
Loading

0 comments on commit ba7d071

Please sign in to comment.