Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for USFM parsing #22

Merged
merged 1 commit into from
Oct 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
*.sh eol=lf
*.ts eol=lf
*.js eol=lf
*.mjs eol=lf
*.cjs eol=lf
*.json eol=lf
*.yml eol=lf
8 changes: 4 additions & 4 deletions .github/workflows/ci-test-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ name: CI Build

on:
push:
branches: [master]
tags: ["**"]
pull_request:
branches: [master]
branches:
- "**"
tags:
- "v*"

jobs:
build:
Expand Down
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# compiled output
/lib
/ts3.4
/dist
*.tgz

# test output
Expand Down
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
lib
dist
16 changes: 16 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "build",
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": [],
"label": "npm: build",
"detail": "tsup && copyfiles -u 1 src/**/*.sty dist"
}
]
}
7 changes: 4 additions & 3 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
// @ts-check

import eslint from "@eslint/js";
import eslintConfigPrettier from "eslint-config-prettier";
import simpleImportSort from "eslint-plugin-simple-import-sort";
import tseslint from "typescript-eslint";

export default tseslint.config(
{
ignores: ["coverage/*", "public/*", "lib/*", "package-lock.json", "jest.config.js"],
ignores: ["coverage/*", "public/*", "dist/*", "package-lock.json", "jest.config.js", "tsup.config.js"],
},
eslint.configs.recommended,
...tseslint.configs.strictTypeChecked,
Expand Down Expand Up @@ -37,6 +35,9 @@ export default tseslint.config(
ignoreRestSiblings: true,
},
],
"@typescript-eslint/no-unsafe-enum-comparison": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-empty-function": "off",
},
},
{
Expand Down
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module.exports = {
export default {
preset: 'ts-jest',
};
Loading