Skip to content

Commit 9d3b8db

Browse files
authored
Merge pull request #3 from Acode-Foundation/fix-cron-gapi
fix(cron jobs, google apis)
2 parents 5b7e843 + 79a679f commit 9d3b8db

File tree

30 files changed

+1203
-718
lines changed

30 files changed

+1203
-718
lines changed

.idea/.gitignore

Lines changed: 0 additions & 5 deletions
This file was deleted.

.idea/acode_app.iml

Lines changed: 0 additions & 12 deletions
This file was deleted.

.idea/codeStyles/Project.xml

Lines changed: 0 additions & 70 deletions
This file was deleted.

.idea/codeStyles/codeStyleConfig.xml

Lines changed: 0 additions & 5 deletions
This file was deleted.

.idea/inspectionProfiles/Project_Default.xml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.idea/modules.xml

Lines changed: 0 additions & 8 deletions
This file was deleted.

.idea/vcs.xml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,4 +92,4 @@
9292
"quickFix.biome": "explicit",
9393
"source.organizeImports.biome": "explicit"
9494
}
95-
}
95+
}

biome.json

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
{
22
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
33
"vcs": { "enabled": false, "clientKind": "git", "useIgnoreFile": false },
4-
"files": { "ignoreUnknown": true, "ignore": ["public/**/*", "*.d.ts", ".vscode/**/*", "**/jsconfig.json", ".babelrc", ".hintrc"] },
4+
"files": {
5+
"ignoreUnknown": true,
6+
"includes": ["**", "!**/public/**/*", "!**/*.d.ts", "!**/.vscode/**/*", "!**/jsconfig.json", "!**/.babelrc", "!**/.hintrc"]
7+
},
58
"formatter": {
69
"enabled": true,
710
"useEditorconfig": true,
@@ -13,16 +16,11 @@
1316
"attributePosition": "auto",
1417
"bracketSpacing": true
1518
},
16-
"organizeImports": {
17-
"enabled": true
18-
},
19+
"assist": { "actions": { "source": { "organizeImports": "on" } } },
1920
"linter": {
2021
"rules": {
2122
"recommended": true,
22-
"nursery": {
23-
"noCommonJs": "error",
24-
"noNestedTernary": "error"
25-
},
23+
"nursery": {},
2624
"correctness": {
2725
"noUnusedVariables": "error",
2826
"noUndeclaredVariables": "error"
@@ -34,11 +32,13 @@
3432
"noForEach": "warn"
3533
},
3634
"suspicious": {
37-
"noConsoleLog": "error"
35+
"noConsole": { "level": "error", "options": { "allow": ["error"] } }
3836
},
3937
"style": {
4038
"noParameterAssign": "off",
41-
"noRestrictedGlobals": "error"
39+
"noRestrictedGlobals": "error",
40+
"noCommonJs": "error",
41+
"noNestedTernary": "error"
4242
}
4343
}
4444
},
@@ -57,7 +57,7 @@
5757
},
5858
"overrides": [
5959
{
60-
"include": ["client/**"],
60+
"includes": ["**/client/**"],
6161
"linter": {
6262
"rules": {
6363
"a11y": {
@@ -74,14 +74,15 @@
7474
}
7575
},
7676
{
77-
"include": ["server/**", "webpack.config.js", "cron-jobs/**", "dev/**", "postcss.config.js"],
77+
"includes": ["**/server/**", "**/webpack.config.js", "**/cron-jobs/**", "**/dev/**", "**/postcss.config.js"],
7878
"linter": {
7979
"rules": {
80-
"nursery": {
81-
"noCommonJs": "off"
82-
},
80+
"nursery": {},
8381
"suspicious": {
84-
"noConsoleLog": "off"
82+
"noConsole": { "level": "off", "options": { "allow": ["log"] } }
83+
},
84+
"style": {
85+
"noCommonJs": "off"
8586
}
8687
}
8788
}

client/components/docs/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import './style.scss';
22

33
import Ref from 'html-tag-js/ref';
4-
import Router from 'lib/Router';
54
import { hideLoading, showLoading } from 'lib/helpers';
5+
import Router from 'lib/Router';
66

77
/**
88
*

0 commit comments

Comments
 (0)