Skip to content

Commit 0f768ca

Browse files
Merge pull request #47 from basics/beta
Beta
2 parents be0c397 + 7e5809e commit 0f768ca

File tree

14 files changed

+325
-17
lines changed

14 files changed

+325
-17
lines changed

.vscode/extensions.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"yzhang.markdown-all-in-one",
1313
"formulahendry.auto-close-tag",
1414
"formulahendry.auto-rename-tag",
15-
"naumovs.color-highlight"
15+
"naumovs.color-highlight",
16+
"humao.rest-client"
1617
]
17-
}
18+
}

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@
5858
- [x] implemented test samples
5959
- [x] mock browser events (with marble definitions)
6060
- [x] mock requests (with marble definition)
61-
- [x] true async handling
61+
- [x] true async handling
62+
- [x] implemented curl test (.http-file)
6263
- browserslist
6364
- [x] embedded but currently not needed
6465
- git

eslint.config.js

Lines changed: 39 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
import js from '@eslint/js';
2-
import globals from 'globals';
2+
// https://github.com/nickdeis/eslint-plugin-no-secrets
3+
import noSecrets from 'eslint-plugin-no-secrets';
4+
// https://github.com/azat-io/eslint-plugin-perfectionist
5+
import perfectionist from 'eslint-plugin-perfectionist';
6+
// https://github.com/prettier/eslint-plugin-prettier
37
import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended';
8+
// https://github.com/eslint-community/eslint-plugin-security
49
import eslintPluginSecurity from 'eslint-plugin-security';
5-
import eslintPluginVitest from 'eslint-plugin-vitest';
10+
// https://github.com/vitest-dev/eslint-plugin-vitest
11+
import vitest from 'eslint-plugin-vitest';
12+
import globals from 'globals';
13+
614
import eslintIgnores from './eslint.ignores.js';
715

816
export default [
@@ -19,16 +27,43 @@ export default [
1927
}
2028
},
2129
plugins: {
22-
eslintPluginVitest
30+
vitest,
31+
'no-secrets': noSecrets,
32+
perfectionist
2333
},
2434
rules: {
2535
'block-spacing': 'error',
2636
complexity: ['error', { max: 7 }],
37+
camelcase: 'error',
2738
// 'import/order': ['error', { groups: ['builtin', 'external', 'parent', 'sibling', 'index'] }],
2839
'no-console': 'warn',
2940
'no-debugger': 'warn',
3041
'no-multiple-empty-lines': ['error', { max: 1, maxEOF: 1 }],
31-
'no-unused-vars': 'warn'
42+
'no-unused-vars': 'warn',
43+
'no-secrets/no-secrets': 'error',
44+
'perfectionist/sort-imports': [
45+
'error',
46+
{
47+
type: 'alphabetical',
48+
order: 'asc',
49+
ignoreCase: true,
50+
internalPattern: ['~/**'],
51+
newlinesBetween: 'always',
52+
maxLineLength: undefined,
53+
groups: [
54+
'type',
55+
['builtin', 'external'],
56+
'internal-type',
57+
'internal',
58+
['parent-type', 'sibling-type', 'index-type'],
59+
['parent', 'sibling', 'index'],
60+
'object',
61+
'unknown'
62+
],
63+
customGroups: { type: {}, value: {} },
64+
environment: 'node'
65+
}
66+
]
3267
}
3368
}
3469
];

package-lock.json

Lines changed: 244 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@
3939
"commitlint": "19.5.0",
4040
"eslint": "9.10.0",
4141
"eslint-config-prettier": "9.1.0",
42+
"eslint-plugin-no-secrets": "^1.0.2",
43+
"eslint-plugin-perfectionist": "^3.6.0",
4244
"eslint-plugin-prettier": "5.2.1",
4345
"eslint-plugin-security": "3.0.1",
4446
"eslint-plugin-vitest": "0.5.4",

packages/observables/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Project Changelog
22

3+
# [@rxjs-collection/observables-v1.0.2-beta.1](https://github.com/basics/rxjs-collection/compare/@rxjs-collection/observables-v1.0.1...@rxjs-collection/observables-v1.0.2-beta.1) (2024-09-18)
4+
5+
6+
### Bug Fixes
7+
8+
* **eslint:** added sorted import and modified files ([6ecf940](https://github.com/basics/rxjs-collection/commit/6ecf940e5efd65a45de71c5011ed1ca6142c2c48))
9+
* **rest:** added http sample file ([78c40df](https://github.com/basics/rxjs-collection/commit/78c40df76fe410f833a8bbac31421c0bedf2e6e1))
10+
311
# [@rxjs-collection/observables-v1.0.1](https://github.com/basics/rxjs-collection/compare/@rxjs-collection/observables-v1.0.0...@rxjs-collection/observables-v1.0.1) (2024-09-16)
412

513

packages/observables/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@rxjs-collection/observables",
3-
"version": "1.0.1",
3+
"version": "1.0.2-beta.1",
44
"description": "rxjs observables",
55
"license": "MIT",
66
"contributors": [

0 commit comments

Comments
 (0)