Skip to content

Commit

Permalink
Merge pull request #191 from uqbar-project/using-web-tools-component
Browse files Browse the repository at this point in the history
Using web tools component
  • Loading branch information
fdodino authored Oct 9, 2024
2 parents c57c36c + 1fde3ea commit c9f197f
Show file tree
Hide file tree
Showing 14 changed files with 1,267 additions and 746 deletions.
73 changes: 49 additions & 24 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,22 +1,24 @@
{
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
"ignorePatterns": ["**/*.js", "dist/**", "build/**"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"ignorePatterns": [
"**/*.js",
"dist/**",
"build/**"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json"
},
"plugins": ["@typescript-eslint"],
"plugins": [
"@typescript-eslint",
"@stylistic/ts"
],
"root": true,
"rules": {
"@typescript-eslint/ban-types": [
"error",
{
"extendDefaults": true,
"types": {
"Function": false
}
}
],
"@typescript-eslint/no-unused-expressions": "off",
"@typescript-eslint/explicit-module-boundary-types": [
"warn",
{
Expand All @@ -39,10 +41,22 @@
"vars": "all"
}
],
"@typescript-eslint/quotes": ["warn", "single"],
"@typescript-eslint/semi": ["warn", "never"],
"array-bracket-spacing": ["warn", "never"],
"array-element-newline": ["warn", "consistent"],
"@stylistic/ts/quotes": [
"warn",
"single"
],
"@stylistic/ts/semi": [
"warn",
"never"
],
"array-bracket-spacing": [
"warn",
"never"
],
"array-element-newline": [
"warn",
"consistent"
],
"arrow-spacing": "warn",
"comma-dangle": [
"warn",
Expand All @@ -55,18 +69,24 @@
}
],
"no-useless-rename": "warn",
"@typescript-eslint/no-extra-parens": "warn",
"@stylistic/ts/no-extra-parens": "warn",
"comma-spacing": [
"warn",
{
"after": true,
"before": false
}
],
"eol-last": ["warn", "never"],
"eol-last": [
"warn",
"never"
],
"for-direction": "off",
"function-call-argument-newline": ["warn", "consistent"],
"indent": [
"function-call-argument-newline": [
"warn",
"consistent"
],
"@stylistic/ts/indent": [
"warn",
2,
{
Expand All @@ -90,7 +110,9 @@
]
}
],
"no-constant-condition": ["warn"],
"no-constant-condition": [
"warn"
],
"no-inner-declarations": "off",
"no-multiple-empty-lines": [
"warn",
Expand All @@ -116,7 +138,10 @@
}
}
],
"object-curly-spacing": ["warn", "always"],
"object-curly-spacing": [
"warn",
"always"
],
"padding-line-between-statements": [
"warn",
{
Expand All @@ -133,6 +158,6 @@
"named": "never"
}
],
"@typescript-eslint/type-annotation-spacing": ["warn"]
"prefer-const": ["warn"]
}
}
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ coverage
log/*
/public/game/lib/*
wollok.log
/public/diagram/diagram-index.js
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
lts/hydrogen
lts/iron
Loading

0 comments on commit c9f197f

Please sign in to comment.