Skip to content

Commit

Permalink
Merge pull request #664 from antoniomuso/feat/upgrade-deps
Browse files Browse the repository at this point in the history
feat: upgrade deps and CI
  • Loading branch information
antoniomuso authored Mar 19, 2024
2 parents bd51cd5 + 16c8079 commit 7334bee
Show file tree
Hide file tree
Showing 13 changed files with 4,741 additions and 4,074 deletions.
6 changes: 6 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,9 @@ rustflags = [
[target.aarch64-unknown-linux-musl]
linker = "aarch64-linux-musl-gcc"
rustflags = ["-C", "target-feature=-crt-static"]

[target.x86_64-pc-windows-msvc]
rustflags = ["-C", "target-feature=+crt-static"]

[target.i686-pc-windows-msvc]
rustflags = ["-C", "target-feature=+crt-static"]
27 changes: 7 additions & 20 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ parserOptions:
jsx: true
ecmaVersion: latest
sourceType: module
project: ./tsconfig.json
extraFileExtensions: ['.mjs']

env:
browser: true
Expand All @@ -14,12 +16,11 @@ env:

plugins:
- import
- sonarjs
- '@typescript-eslint'

extends:
- eslint:recommended
- plugin:sonarjs/recommended
- plugin:prettier/recommended
- prettier

rules:
# 0 = off, 1 = warn, 2 = error
Expand All @@ -37,6 +38,7 @@ rules:
'no-use-before-define': [2, { 'functions': false, 'classes': false }]
'eqeqeq': [2, 'always', { 'null': 'ignore' }]
'no-case-declarations': 0
'no-empty': 0
'no-restricted-syntax':
[
2,
Expand All @@ -60,35 +62,20 @@ rules:
},
]

'sonarjs/cognitive-complexity': 0
'sonarjs/no-duplicate-string': 0
'sonarjs/no-big-function': 0
'sonarjs/no-identical-functions': 0
'sonarjs/no-small-switch': 0

overrides:
- files:
- ./**/*.{ts,tsx}
rules:
'no-unused-vars': [2, { varsIgnorePattern: '^_', argsIgnorePattern: '^_', ignoreRestSiblings: true }]

- files:
- ./**/*{.ts,.tsx}
plugins:
- '@typescript-eslint'
parserOptions:
project: ./tsconfig.json
- ./**/*{.ts,.tsx,.mjs}
rules:
'no-undef': 0
# TypeScript declare merge
'no-redeclare': 0
'no-useless-constructor': 0
'no-unused-vars': 0
'no-dupe-class-members': 0
'no-case-declarations': 0
'no-duplicate-imports': 0
# TypeScript Interface and Type
'no-use-before-define': 0
'no-unused-vars': [2, { varsIgnorePattern: '^_', argsIgnorePattern: '^_', ignoreRestSiblings: true }]

'@typescript-eslint/adjacent-overload-signatures': 2
'@typescript-eslint/await-thenable': 2
Expand Down
Loading

0 comments on commit 7334bee

Please sign in to comment.