Skip to content
Closed
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
75 changes: 0 additions & 75 deletions .eslintrc.json

This file was deleted.

5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Changelog
All notable changes to this project will be documented in this file.

# [22.0.0] (2026-09-17)

### Improvements
- Update to Angular 22

# [21.0.1] (2026-02-11)

### Improvements
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Date Picker
This is a configurable date-picker build for Angular applications.
Supports latest (Angular 15) version. For older versions please checkout the CHANGELOG.md file.
Supports latest (Angular 22) version. For older versions please checkout the CHANGELOG.md file.

[DEMO](https://wondrous-crostata-172891.netlify.app/)

Expand Down
23 changes: 0 additions & 23 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,29 +102,6 @@
}
}
},
"ng2-date-picker-demo-e2e": {
"root": "",
"sourceRoot": "e2e",
"projectType": "application",
"architect": {
"e2e": {
"builder": "@angular-devkit/build-angular:protractor",
"options": {
"protractorConfig": "./protractor.conf.js",
"devServerTarget": "ng2-date-picker-demo:serve"
}
},
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"lintFilePatterns": [
"src/**/*.ts",
"src/**/*.html"
]
}
}
}
},
"ng2-date-picker": {
"projectType": "library",
"root": "projects/ng2-date-picker",
Expand Down
57 changes: 57 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
// @ts-check
const tseslint = require('typescript-eslint');
const angular = require('angular-eslint');

module.exports = tseslint.config(
{
files: ['**/*.ts'],
extends: [
...angular.configs.tsRecommended,
],
processor: angular.processInlineTemplates,
rules: {
'@angular-eslint/component-selector': [
'error',
{
type: 'element',
prefix: 'dp',
style: 'kebab-case',
},
],
'@angular-eslint/directive-selector': [
'error',
{
type: 'attribute',
prefix: 'dp',
style: 'camelCase',
},
],
'@angular-eslint/no-output-native': 'off',
'@angular-eslint/no-output-on-prefix': 'off',
'@angular-eslint/prefer-standalone': 'warn',
'@angular-eslint/prefer-inject': 'off',
'@angular-eslint/prefer-on-push-component-change-detection': 'off',
'no-console': [
'error',
{
allow: ['info', 'error'],
},
],
'no-debugger': 'error',
quotes: [
'error',
'single',
{
allowTemplateLiterals: true,
},
],
},
},
{
files: ['**/*.html'],
extends: [
...angular.configs.templateRecommended,
],
rules: {},
},
);
Loading
Loading