Skip to content

Commit

Permalink
convert to ESM
Browse files Browse the repository at this point in the history
  • Loading branch information
jumoog committed Jan 17, 2025
1 parent 8b2d4e5 commit 1ba10f1
Show file tree
Hide file tree
Showing 26 changed files with 34,618 additions and 29,849 deletions.
4 changes: 0 additions & 4 deletions .eslintignore

This file was deleted.

78 changes: 0 additions & 78 deletions .github/linters/.eslintrc.yml

This file was deleted.

9 changes: 0 additions & 9 deletions .github/linters/tsconfig.json

This file was deleted.

4 changes: 4 additions & 0 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,11 @@ jobs:
DEFAULT_BRANCH: main
FILTER_REGEX_EXCLUDE: dist/**/*
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
LINTER_RULES_PATH: ${{ github.workspace }}
VALIDATE_ALL_CODEBASE: true
VALIDATE_JAVASCRIPT_ES: false
VALIDATE_JAVASCRIPT_STANDARD: false
VALIDATE_JSCPD: false
VALIDATE_TYPESCRIPT_ES: false
VALIDATE_JSON: false
VALIDATE_TYPESCRIPT_STANDARD: false
6 changes: 6 additions & 0 deletions .github/linters/.markdown-lint.yml → .markdown-lint.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
# See: https://github.com/DavidAnson/markdownlint

# Unordered list style
MD004:
style: dash

# Disable line length for tables
MD013:
tables: false

# Ordered list item prefix
MD029:
style: one
Expand Down
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
21.6.2
20.9.0
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.DS_Store
dist/
node_modules/
coverage/
16 changes: 0 additions & 16 deletions .prettierrc.json

This file was deleted.

16 changes: 16 additions & 0 deletions .prettierrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# See: https://prettier.io/docs/en/configuration

printWidth: 80
tabWidth: 2
useTabs: false
semi: false
singleQuote: true
quoteProps: as-needed
jsxSingleQuote: false
trailingComma: none
bracketSpacing: true
bracketSameLine: true
arrowParens: always
proseWrap: always
htmlWhitespaceSensitivity: css
endOfLine: lf
2 changes: 2 additions & 0 deletions .github/linters/.yaml-lint.yml → .yaml-lint.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# See: https://yamllint.readthedocs.io/en/stable/

rules:
document-end: disable
document-start:
Expand Down
2 changes: 1 addition & 1 deletion __tests__/validate-and-update-manifest.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ describe('cleanUpOldReleases', () => {
// Check if only 3 versions are kept (2 with 10.9.0 and 1 with 10.8.0)
expect(result[0].versions.length).toBe(3)
// Check if the kept versions have the correct targetAbi values
expect(result[0].versions.map(v => v.targetAbi).sort()).toEqual([
expect(result[0].versions.map((v) => v.targetAbi).sort()).toEqual([
'10.8.0',
'10.9.0',
'10.9.0'
Expand Down
1 change: 1 addition & 0 deletions dist/index.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 1ba10f1

Please sign in to comment.