Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions .commitlintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,7 @@
"extends": ["@commitlint/config-angular"],
"rules": {
"subject-max-length": [2, "always", 120],
"scope-enum": [
2,
"always",
[
"lib",
"demo"
]],
"scope-enum": [2, "always", ["lib", "demo"]],
"type-enum": [
2,
"always",
Expand Down
78 changes: 17 additions & 61 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,15 @@
{
"root": true,
"ignorePatterns": [
"**/*"
],
"ignorePatterns": ["**/*"],
"reportUnusedDisableDirectives": true,
"env": {
"browser": true,
"es2021": true
},
"overrides": [
{
"files": [
"*.ts"
],
"plugins": [
"@typescript-eslint",
"prefer-arrow",
"import",
"jsdoc",
"jasmine"
],
"files": ["*.ts"],
"plugins": ["@typescript-eslint", "prefer-arrow", "import", "jsdoc", "jasmine"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended-type-checked",
Expand All @@ -28,7 +18,8 @@
"plugin:import/errors",
"plugin:import/warnings",
"plugin:import/typescript",
"plugin:jsdoc/recommended"
"plugin:jsdoc/recommended",
"prettier"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
Expand All @@ -38,16 +29,12 @@
},
"settings": {
"import/parsers": {
"@typescript-eslint/parser": [
".ts"
]
"@typescript-eslint/parser": [".ts"]
},
"import/resolver": {
"node": true,
"typescript": {
"project": [
"./tsconfig.json"
]
"project": ["./tsconfig.json"]
}
}
},
Expand All @@ -58,23 +45,11 @@
"ignoreStatic": true
}
],
"arrow-parens": [
"error",
"as-needed"
],
"comma-dangle": "error",
"import/order": [
"error",
{
"groups": [
[
"builtin",
"external"
],
"parent",
"sibling",
"internal"
],
"groups": [["builtin", "external"], "parent", "sibling", "internal"],
"pathGroups": [
{
"pattern": "@lib/**",
Expand Down Expand Up @@ -113,9 +88,7 @@
"jsdoc/require-returns-type": [
"off",
{
"contexts": [
"any"
]
"contexts": ["any"]
}
],
"no-multiple-empty-lines": [
Expand All @@ -142,36 +115,23 @@
"classPropertiesAllowed": false
}
],
"semi": [
"error",
"always"
]
"semi": ["error", "always"]
}
},
{
"files": [
"*.spec.ts"
],
"files": ["*.spec.ts"],
"env": {
"jasmine": true
},
"plugins": [
"jasmine"
],
"extends": [
"plugin:jasmine/recommended"
],
"plugins": ["jasmine"],
"extends": ["plugin:jasmine/recommended"],
"rules": {
"jasmine/missing-expect": "warn"
}
},
{
"files": [
"*.json"
],
"extends": [
"plugin:json/recommended-legacy"
],
"files": ["*.json"],
"extends": ["plugin:json/recommended-legacy"],
"rules": {
"json/*": [
"error",
Expand All @@ -182,12 +142,8 @@
}
},
{
"files": [
"*.html"
],
"extends": [
"plugin:@angular-eslint/template/recommended"
],
"files": ["*.html"],
"extends": ["plugin:@angular-eslint/template/recommended"],
"rules": {}
}
]
Expand Down
54 changes: 27 additions & 27 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,39 +1,39 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
directory: '/'
schedule:
interval: "monthly"
interval: 'monthly'
cooldown:
default-days: 7
open-pull-requests-limit: 10
ignore:
- dependency-name: "eslint"
versions: ["9.x", "10.x"]
- dependency-name: "eslint-plugin-cypress"
versions: ["4.x", "5.x", "6.x"]
- dependency-name: "@angular/*"
versions: ["18.x", "19.x", "20.x", "21.x", "22.x"]
- dependency-name: "@angular-devkit/build-angular"
versions: ["18.x", "19.x", "20.x", "21.x", "22.x"]
- dependency-name: "@angular-eslint/*"
versions: ["18.x", "19.x", "20.x", "21.x", "22.x"]
- dependency-name: "ng-packagr"
versions: ["18.x", "19.x", "20.x", "21.x", "22.x"]
- dependency-name: "typescript"
versions: ["5.5.x", "5.6.x", "5.7.x", "5.8.x", "5.9.x", "6.x", "7.x"]
- dependency-name: "zone"
versions: ["0.15.x", "0.16.x"]
- dependency-name: "cypress"
versions: ["15.x"]
- dependency-name: "@cypress/schematic"
versions: ["4.x", "5.x"]
- dependency-name: "@cypress/webpack-preprocessor"
versions: ["7.x"]
- dependency-name: 'eslint'
versions: ['9.x', '10.x']
- dependency-name: 'eslint-plugin-cypress'
versions: ['4.x', '5.x', '6.x']
- dependency-name: '@angular/*'
versions: ['18.x', '19.x', '20.x', '21.x', '22.x']
- dependency-name: '@angular-devkit/build-angular'
versions: ['18.x', '19.x', '20.x', '21.x', '22.x']
- dependency-name: '@angular-eslint/*'
versions: ['18.x', '19.x', '20.x', '21.x', '22.x']
- dependency-name: 'ng-packagr'
versions: ['18.x', '19.x', '20.x', '21.x', '22.x']
- dependency-name: 'typescript'
versions: ['5.5.x', '5.6.x', '5.7.x', '5.8.x', '5.9.x', '6.x', '7.x']
- dependency-name: 'zone'
versions: ['0.15.x', '0.16.x']
- dependency-name: 'cypress'
versions: ['15.x']
- dependency-name: '@cypress/schematic'
versions: ['4.x', '5.x']
- dependency-name: '@cypress/webpack-preprocessor'
versions: ['7.x']

- package-ecosystem: "github-actions"
directory: "/"
- package-ecosystem: 'github-actions'
directory: '/'
schedule:
interval: "monthly"
interval: 'monthly'
cooldown:
default-days: 7
6 changes: 3 additions & 3 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ name: Node.js CI

on:
push:
branches: ["main"]
branches: ['main']
pull_request:
branches: ["main"]
branches: ['main']
workflow_dispatch:

jobs:
Expand All @@ -30,7 +30,7 @@ jobs:
uses: actions/setup-node@v6.4.0
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
cache: 'npm'

- run: npm ci
- run: npm run lint
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: publish-demo-to-github-pages

on:
push:
branches: ["main"]
branches: ['main']
workflow_dispatch:

jobs:
Expand All @@ -20,8 +20,8 @@ jobs:
- name: Use Node v24
uses: actions/setup-node@v6.4.0
with:
node-version: "24.x"
cache: "npm"
node-version: '24.x'
cache: 'npm'

- name: npm ci and npm run build files for ghpages
run: |
Expand Down
6 changes: 6 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "none",
"printWidth": 100
}
21 changes: 9 additions & 12 deletions .stylelintrc
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
{
"extends": [
"stylelint-config-standard",
"stylelint-config-recommended-scss"
"extends": ["stylelint-config-standard", "stylelint-config-recommended-scss"],
"rules": {
"value-keyword-case": [
"lower",
{
"ignoreKeywords": ["/A\\d00/"]
}
],
"rules": {
"value-keyword-case": [
"lower",
{
"ignoreKeywords": [ "/A\\d00/" ]
}
],
"declaration-property-value-no-unknown": null
}
"declaration-property-value-no-unknown": null
}
}
11 changes: 2 additions & 9 deletions .unimportedrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,6 @@
"projects/mat-datatable-lib/src/directives/datatable-sort/wrapped-error-message.ts",
"projects/mat-datatable-lib/src/lib/mocking-data/mock-data.simple.ts"
],
"ignoreUnused": [
"@angular/compiler",
"material-icons",
"roboto-fontface",
"tslib"
],
"ignoreUnresolved": [
"mat-datatable"
]
"ignoreUnused": ["@angular/compiler", "material-icons", "roboto-fontface", "tslib"],
"ignoreUnresolved": ["mat-datatable"]
}
Loading