Skip to content

Commit

Permalink
fix(peer deps): update rxjs peer deps
Browse files Browse the repository at this point in the history
  • Loading branch information
kKen94 committed Dec 10, 2021
1 parent 9e75c3f commit 67a4fe2
Show file tree
Hide file tree
Showing 12 changed files with 667 additions and 335 deletions.
21 changes: 20 additions & 1 deletion angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@
"tsConfig": "projects/lib/tsconfig.lib.prod.json"
}
}
},
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"lintFilePatterns": [
"projects/lib/**/*.ts",
"projects/lib/**/*.html"
]
}
}
}
},
Expand Down Expand Up @@ -85,6 +94,15 @@
}
}
},
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"lintFilePatterns": [
"projects/demo/**/*.ts",
"projects/demo/**/*.html"
]
}
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
Expand All @@ -107,6 +125,7 @@
},
"defaultProject": "lib",
"cli": {
"analytics": "caeef3a2-8934-46b6-b462-f73e129527e6"
"analytics": "caeef3a2-8934-46b6-b462-f73e129527e6",
"defaultCollection": "@angular-eslint/schematics"
}
}
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
"@angular/platform-browser-dynamic": "~13.1.0",
"@angular/router": "~13.1.0",
"ngx-color": "^7.2.0",
"rxjs": "~6.6.3",
"tslib": "^2.1.0",
"rxjs": "~7.4.0",
"tslib": "^2.3.0",
"zone.js": "~0.11.4"
},
"devDependencies": {
Expand All @@ -59,16 +59,18 @@
"@typescript-eslint/parser": "5.3.0",
"angular-cli-ghpages": "^1.0.0",
"angular-tslint-rules": "^1.20.1",
"codelyzer": "^6.0.0",
"copyfiles": "^2.4.1",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.2.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-jasmine": "^4.1.3",
"eslint-plugin-jsdoc": "^37.2.0",
"eslint-plugin-no-null": "latest",
"eslint-plugin-prefer-arrow": "^1.2.3",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "latest",
"eslint-plugin-unicorn": "latest",
"husky": "^7.0.0",
"lint-staged": "^12.1.2",
"ng-packagr": "^13.1.1",
Expand All @@ -85,9 +87,8 @@
"stylelint-order": "^5.0.0",
"stylelint-scss": "^4.0.1",
"ts-node": "^9.1.1",
"tslint": "~6.1.0",
"tslint-config-prettier": "^1.18.0",
"typescript": "~4.4.4",
"typescript": "~4.5.2",
"webpack-bundle-analyzer": "^4.4.2"
},
"repository": {
Expand Down
209 changes: 209 additions & 0 deletions projects/demo/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,209 @@
{
"extends": "../../.eslintrc.json",
"ignorePatterns": [
"!**/*"
],
"overrides": [
{
"files": [
"*.ts"
],
"parserOptions": {
"project": [
"projects/lib/tsconfig.app.json"
],
"createDefaultProgram": true
},
"plugins": [
"eslint-plugin-no-null",
"eslint-plugin-unicorn",
"eslint-plugin-react"
],
"rules": {
"@angular-eslint/component-max-inline-declarations": "error",
"@angular-eslint/component-selector": [
"error",
{
"type": "element",
"prefix": "ngx",
"style": "kebab-case"
}
],
"@angular-eslint/contextual-decorator": "error",
"@angular-eslint/directive-selector": [
"error",
{
"type": "attribute",
"prefix": "ngx",
"style": "camelCase"
}
],
"@angular-eslint/no-attribute-decorator": "error",
"@angular-eslint/no-forward-ref": "error",
"@angular-eslint/no-lifecycle-call": "error",
"@angular-eslint/no-pipe-impure": "error",
"@angular-eslint/no-queries-metadata-property": "error",
"@angular-eslint/prefer-output-readonly": "error",
"@angular-eslint/use-component-view-encapsulation": "error",
"@typescript-eslint/await-thenable": "error",
"@typescript-eslint/ban-ts-comment": "error",
"@typescript-eslint/ban-types": "off",
"@typescript-eslint/consistent-type-definitions": "error",
"@typescript-eslint/dot-notation": "off",
"@typescript-eslint/explicit-member-accessibility": [
"off",
{
"accessibility": "explicit"
}
],
"@typescript-eslint/member-delimiter-style": [
"off",
{
"multiline": {
"delimiter": "none",
"requireLast": true
},
"singleline": {
"delimiter": "semi",
"requireLast": false
}
}
],
"@typescript-eslint/no-extraneous-class": "error",
"@typescript-eslint/no-floating-promises": "error",
"@typescript-eslint/no-for-in-array": "error",
"@typescript-eslint/no-require-imports": "error",
"@typescript-eslint/no-shadow": [
"error",
{
"hoist": "never"
}
],
"@typescript-eslint/no-this-alias": "error",
"@typescript-eslint/no-unnecessary-boolean-literal-compare": "error",
"@typescript-eslint/no-unnecessary-type-arguments": "error",
"@typescript-eslint/no-unnecessary-type-assertion": "error",
"@typescript-eslint/no-unused-expressions": [
"error",
{
"allowShortCircuit": true
}
],
"@typescript-eslint/prefer-for-of": "off",
"@typescript-eslint/prefer-readonly": "error",
"@typescript-eslint/promise-function-async": "error",
"@typescript-eslint/require-await": "error",
"@typescript-eslint/restrict-plus-operands": "error",
"@typescript-eslint/semi": [
"off",
null
],
"@typescript-eslint/strict-boolean-expressions": [
"error",
{
"allowNullable": true
}
],
"@typescript-eslint/unbound-method": "error",
"arrow-parens": [
"error",
"as-needed"
],
"brace-style": [
"off",
"off"
],
"class-methods-use-this": "error",
"comma-dangle": [
"error",
"always-multiline"
],
"complexity": [
"error",
{
"max": 20
}
],
"default-case": "error",
"import/no-default-export": "error",
"import/no-extraneous-dependencies": "off",
"import/no-unassigned-import": "off",
"import/order": "error",
"linebreak-style": "off",
"max-len": [
"error",
{
"code": 80
}
],
"max-lines": [
"error",
400
],
"new-parens": "off",
"newline-per-chained-call": "off",
"no-duplicate-case": "error",
"no-duplicate-imports": "error",
"no-extra-bind": "error",
"no-extra-semi": "off",
"no-invalid-this": "error",
"no-irregular-whitespace": "off",
"no-new-func": "error",
"no-null/no-null": "error",
"no-param-reassign": "off",
"no-plusplus": "error",
"no-redeclare": "error",
"no-restricted-syntax": [
"error",
"ForInStatement"
],
"no-return-await": "error",
"no-sequences": "error",
"no-sparse-arrays": "error",
"no-template-curly-in-string": "error",
"no-trailing-spaces": "off",
"no-useless-constructor": "error",
"no-void": "error",
"padding-line-between-statements": [
"off",
{
"blankLine": "always",
"prev": "*",
"next": "return"
}
],
"prefer-object-spread": "error",
"prefer-template": "error",
"radix": "off",
"react/jsx-curly-spacing": "off",
"react/jsx-equals-spacing": "off",
"react/jsx-tag-spacing": [
"off",
{
"afterOpening": "allow",
"closingSlash": "allow"
}
],
"react/jsx-wrap-multilines": "off",
"space-in-parens": [
"off",
"never"
],
"unicorn/filename-case": "error",
"yoda": "error"
}
},
{
"files": [
"*.html"
],
"rules": {
"@angular-eslint/template/conditional-complexity": "error",
"@angular-eslint/template/cyclomatic-complexity": "error",
"@angular-eslint/template/i18n": "off",
"@angular-eslint/template/no-call-expression": "error",
"@angular-eslint/template/use-track-by-function": "error"
}
}
]
}
Loading

0 comments on commit 67a4fe2

Please sign in to comment.