Skip to content

Commit

Permalink
support arm macos
Browse files Browse the repository at this point in the history
  • Loading branch information
raftario committed May 8, 2024
1 parent 4ac9204 commit 6a91776
Show file tree
Hide file tree
Showing 10 changed files with 564 additions and 614 deletions.
2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

19 changes: 0 additions & 19 deletions .eslintrc.json

This file was deleted.

5 changes: 1 addition & 4 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npm run lint && npm run build && git add dist
npm run lint && npm run build && git add dist
60 changes: 29 additions & 31 deletions dist/index.js

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

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

30 changes: 30 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
const eslint = require("@eslint/js")
const ts = require("typescript-eslint")
const prettier = require("eslint-config-prettier")
const imports = require("eslint-plugin-simple-import-sort")

module.exports = ts.config(
{ ignores: ["node_modules/", "dist/"] },
{
files: ["**/*.ts"],
extends: [
eslint.configs.recommended,
...ts.configs.strictTypeChecked,
...ts.configs.stylisticTypeChecked,
prettier,
],
plugins: {
imports,
},
languageOptions: {
parserOptions: {
EXPERIMENTAL_useProjectService: true,
},
},
rules: {
"@typescript-eslint/no-non-null-assertion": "off",
"imports/imports": "warn",
"imports/exports": "warn",
},
},
)
Loading

0 comments on commit 6a91776

Please sign in to comment.