Skip to content

Commit

Permalink
Merge pull request #47 from basics/beta
Browse files Browse the repository at this point in the history
Beta
  • Loading branch information
StephanGerbeth authored Sep 18, 2024
2 parents be0c397 + 7e5809e commit 0f768ca
Show file tree
Hide file tree
Showing 14 changed files with 325 additions and 17 deletions.
5 changes: 3 additions & 2 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"yzhang.markdown-all-in-one",
"formulahendry.auto-close-tag",
"formulahendry.auto-rename-tag",
"naumovs.color-highlight"
"naumovs.color-highlight",
"humao.rest-client"
]
}
}
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@
- [x] implemented test samples
- [x] mock browser events (with marble definitions)
- [x] mock requests (with marble definition)
- [x] true async handling
- [x] true async handling
- [x] implemented curl test (.http-file)
- browserslist
- [x] embedded but currently not needed
- git
Expand Down
43 changes: 39 additions & 4 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
import js from '@eslint/js';
import globals from 'globals';
// https://github.com/nickdeis/eslint-plugin-no-secrets
import noSecrets from 'eslint-plugin-no-secrets';
// https://github.com/azat-io/eslint-plugin-perfectionist
import perfectionist from 'eslint-plugin-perfectionist';
// https://github.com/prettier/eslint-plugin-prettier
import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended';
// https://github.com/eslint-community/eslint-plugin-security
import eslintPluginSecurity from 'eslint-plugin-security';
import eslintPluginVitest from 'eslint-plugin-vitest';
// https://github.com/vitest-dev/eslint-plugin-vitest
import vitest from 'eslint-plugin-vitest';
import globals from 'globals';

import eslintIgnores from './eslint.ignores.js';

export default [
Expand All @@ -19,16 +27,43 @@ export default [
}
},
plugins: {
eslintPluginVitest
vitest,
'no-secrets': noSecrets,
perfectionist
},
rules: {
'block-spacing': 'error',
complexity: ['error', { max: 7 }],
camelcase: 'error',
// 'import/order': ['error', { groups: ['builtin', 'external', 'parent', 'sibling', 'index'] }],
'no-console': 'warn',
'no-debugger': 'warn',
'no-multiple-empty-lines': ['error', { max: 1, maxEOF: 1 }],
'no-unused-vars': 'warn'
'no-unused-vars': 'warn',
'no-secrets/no-secrets': 'error',
'perfectionist/sort-imports': [
'error',
{
type: 'alphabetical',
order: 'asc',
ignoreCase: true,
internalPattern: ['~/**'],
newlinesBetween: 'always',
maxLineLength: undefined,
groups: [
'type',
['builtin', 'external'],
'internal-type',
'internal',
['parent-type', 'sibling-type', 'index-type'],
['parent', 'sibling', 'index'],
'object',
'unknown'
],
customGroups: { type: {}, value: {} },
environment: 'node'
}
]
}
}
];
247 changes: 244 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@
"commitlint": "19.5.0",
"eslint": "9.10.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-no-secrets": "^1.0.2",
"eslint-plugin-perfectionist": "^3.6.0",
"eslint-plugin-prettier": "5.2.1",
"eslint-plugin-security": "3.0.1",
"eslint-plugin-vitest": "0.5.4",
Expand Down
8 changes: 8 additions & 0 deletions packages/observables/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Project Changelog

# [@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)


### Bug Fixes

* **eslint:** added sorted import and modified files ([6ecf940](https://github.com/basics/rxjs-collection/commit/6ecf940e5efd65a45de71c5011ed1ca6142c2c48))
* **rest:** added http sample file ([78c40df](https://github.com/basics/rxjs-collection/commit/78c40df76fe410f833a8bbac31421c0bedf2e6e1))

# [@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)


Expand Down
2 changes: 1 addition & 1 deletion packages/observables/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rxjs-collection/observables",
"version": "1.0.1",
"version": "1.0.2-beta.1",
"description": "rxjs observables",
"license": "MIT",
"contributors": [
Expand Down
Loading

0 comments on commit 0f768ca

Please sign in to comment.