Skip to content

Commit

Permalink
Merge pull request #2 from badetitou/wasm
Browse files Browse the repository at this point in the history
Update packages
  • Loading branch information
badetitou committed Mar 15, 2024
2 parents 3dcff73 + 27d2fc1 commit 04d5041
Show file tree
Hide file tree
Showing 5 changed files with 4,547 additions and 8,094 deletions.
59 changes: 17 additions & 42 deletions .eslintrc.js → .eslintrc.json
@@ -1,32 +1,23 @@
module.exports = {
{
"env": {
"browser": true,
"es6": true,
"es2021": true,
"node": true
},
"extends": [
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking"
],
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "tsconfig.json",
"sourceType": "module",
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"@typescript-eslint",
"@typescript-eslint/tslint",
"prefer-arrow",
"import",
"jsdoc"
],
"plugins": ["@typescript-eslint"],
"rules": {
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/ban-ts-ignore": "off",
"@typescript-eslint/adjacent-overload-signatures": "error",
"@typescript-eslint/array-type": "off",
"@typescript-eslint/ban-types": "error",
"@typescript-eslint/class-name-casing": "error",
"@typescript-eslint/consistent-type-assertions": "error",
"@typescript-eslint/consistent-type-definitions": "error",
"@typescript-eslint/explicit-member-accessibility": [
Expand All @@ -44,7 +35,8 @@ module.exports = {
},
"FunctionExpression": {
"parameters": "first"
}
},
"ignoredNodes": ["PropertyDefinition"]
}
],
"@typescript-eslint/interface-name-prefix": "off",
Expand Down Expand Up @@ -76,34 +68,22 @@ module.exports = {
"@typescript-eslint/prefer-for-of": "error",
"@typescript-eslint/prefer-function-type": "error",
"@typescript-eslint/prefer-namespace-keyword": "error",
"@typescript-eslint/quotes": [
"error",
"single"
],
"@typescript-eslint/semi": [
"error",
"always"
],
"@typescript-eslint/quotes": ["error", "single"],
"@typescript-eslint/semi": ["error", "always"],

"@typescript-eslint/triple-slash-reference": "error",
"@typescript-eslint/type-annotation-spacing": "error",
"@typescript-eslint/unified-signatures": "error",
"arrow-body-style": "error",
"arrow-parens": [
"off",
"as-needed"
],
"arrow-parens": ["off", "as-needed"],
"camelcase": "error",
"comma-dangle": "off",
"complexity": "off",
"constructor-super": "error",
"curly": "error",
"dot-notation": "error",
"eol-last": "error",
"eqeqeq": [
"error",
"smart"
],
"eqeqeq": ["error", "smart"],
"guard-for-in": "error",
"id-match": "error",
"import/no-deprecated": "warn",
Expand Down Expand Up @@ -169,20 +149,15 @@ module.exports = {
"no-undef-init": "error",
"no-underscore-dangle": "off",
"no-unsafe-finally": "error",
"no-unsafe-assignment": "off",
"no-unused-expressions": "error",
"no-unused-labels": "error",
"no-var": "error",
"object-shorthand": "error",
"one-var": [
"error",
"never"
],
"one-var": ["error", "never"],
"prefer-arrow/prefer-arrow-functions": "error",
"prefer-const": "error",
"quote-props": [
"error",
"as-needed"
],
"quote-props": ["error", "as-needed"],
"radix": "error",
"space-before-function-paren": [
"error",
Expand Down Expand Up @@ -223,4 +198,4 @@ module.exports = {
}
]
}
};
}

0 comments on commit 04d5041

Please sign in to comment.