Skip to content

Commit

Permalink
Add support for USFM parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
ddaspit committed Oct 25, 2024
1 parent 47ab089 commit e840c26
Show file tree
Hide file tree
Showing 47 changed files with 11,307 additions and 62 deletions.
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

0 comments on commit e840c26

Please sign in to comment.