Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using web tools component #191

Merged
merged 15 commits into from
Oct 9, 2024
Merged
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
Loading