Skip to content

Commit

Permalink
Fix code formatting on pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ygrishajev committed Mar 15, 2024
1 parent aa0c4de commit 03eb6d3
Show file tree
Hide file tree
Showing 184 changed files with 8,903 additions and 16,658 deletions.
17 changes: 17 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"ignorePatterns": ["node_modules/", "build/", "umd/"],
"env": {
"node": true,
"es2021": true
},
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": ["@typescript-eslint"],
"rules": {
"@typescript-eslint/no-unused-vars": ["error", { "ignoreRestSiblings": true }]
}
}
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ on:
pull_request:
branches: [ main ]

env:
HUSKY: 0

jobs:
build:
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/npm.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
name: Release from Master on Push

on:
push:
branches:
- main
env:
HUSKY: 0

jobs:
tag:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules/.bin/lint-staged
Loading

0 comments on commit 03eb6d3

Please sign in to comment.