Skip to content

Commit

Permalink
chore(maintenance): upgrade eslint and all deps in specified range
Browse files Browse the repository at this point in the history
  • Loading branch information
velrest committed Jan 23, 2025
1 parent 4f0ff62 commit 108d486
Show file tree
Hide file tree
Showing 60 changed files with 3,015 additions and 2,897 deletions.
14 changes: 0 additions & 14 deletions .eslintignore

This file was deleted.

8 changes: 0 additions & 8 deletions .eslintrc.js

This file was deleted.

4 changes: 2 additions & 2 deletions addon/services/building-entrance.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export default class BuildingEntranceService extends GwrService {
}

// Refresh building cache after adding a entrance
/* eslint-disable-next-line ember/classic-decorator-no-classic-methods */

await this.building.get(EGID);

const xml = await response.text();
Expand Down Expand Up @@ -113,7 +113,7 @@ export default class BuildingEntranceService extends GwrService {
throw errors;
}
// Refresh cache after removing the building
/* eslint-disable-next-line ember/classic-decorator-no-classic-methods */

await this.building.get(EGID);
}

Expand Down
4 changes: 2 additions & 2 deletions addon/services/building.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default class BuildingService extends GwrService {
throw errors;
}
// Refresh cache after removing the building
/* eslint-disable-next-line ember/classic-decorator-no-classic-methods */

await this.constructionProject.get(EPROID);
}

Expand All @@ -55,7 +55,7 @@ export default class BuildingService extends GwrService {
throw errors;
}
// Update cache
/* eslint-disable-next-line ember/classic-decorator-no-classic-methods */

this.constructionProject.get(EPROID);

const xml = await response.text();
Expand Down
4 changes: 2 additions & 2 deletions addon/services/dwelling.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export default class DwellingService extends GwrService {
}

// Refresh building cache after adding a dwelling
/* eslint-disable-next-line ember/classic-decorator-no-classic-methods */

await this.building.get(EGID);

const xml = await response.text();
Expand Down Expand Up @@ -129,7 +129,7 @@ export default class DwellingService extends GwrService {
throw errors;
}
// Refresh cache after removing the building
/* eslint-disable-next-line ember/classic-decorator-no-classic-methods */

await this.building.get(EGID);
}

Expand Down
1 change: 0 additions & 1 deletion addon/validations/construction-project.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import realestateIdentification from "./realestate-identification";

export default {
officialConstructionProjectFileNo: [
/* eslint-disable-next-line no-useless-escape */
validateFormat({
regex: "^(s+[^0]|[^s0]).*$",
allowBlank: true,
Expand Down
27 changes: 27 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import adfinisEmberAddonConfig from "@adfinis/eslint-config/ember-addon";
import ember from "eslint-plugin-ember";

export default [
...adfinisEmberAddonConfig,
{
plugins: { ember },
settings: {
"import/internal-regex": "^(camac-ng|dummy)/",
},

rules: {
"ember/no-runloop": "warn",
},
},
{
ignores: [
"blueprints/*/files/",
"declarations/",
"dist/",
"coverage/",
"!**/.*",
"**/.*/",
".node_modules.ember-try/",
],
},
];
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,29 +36,29 @@
"ember-source": ">= 4.0.0"
},
"dependencies": {
"@babel/core": "^7.25.2",
"@babel/core": "^7.26.0",
"@ember/legacy-built-in-components": "^0.5.0",
"@ember/render-modifiers": "^2.1.0",
"@fortawesome/ember-fontawesome": "^2.0.0",
"@fortawesome/free-regular-svg-icons": "^6.5.2",
"@fortawesome/free-solid-svg-icons": "^6.5.2",
"@fortawesome/free-regular-svg-icons": "^6.7.2",
"@fortawesome/free-solid-svg-icons": "^6.7.2",
"@glimmer/component": "^1.1.2",
"@glimmer/tracking": "^1.1.2",
"ember-auto-import": "^2.7.4",
"ember-basic-dropdown": "^8.2.0",
"ember-auto-import": "^2.10.0",
"ember-basic-dropdown": "^8.4.0",
"ember-changeset": "^4.1.2",
"ember-changeset-validations": "^4.1.1",
"ember-cli-babel": "^8.2.0",
"ember-cli-htmlbars": "^6.3.0",
"ember-composable-helpers": "^5.0.0",
"ember-concurrency": "^4.0.2",
"ember-engines-router-service": "^0.6.0",
"ember-flatpickr": "^8.0.0",
"ember-intl": "^7.0.3",
"ember-modify-based-class-resource": "^1.1.0",
"ember-power-select": "^8.3.0",
"ember-flatpickr": "^8.0.1",
"ember-intl": "^7.1.1",
"ember-modify-based-class-resource": "^1.1.1",
"ember-power-select": "^8.6.2",
"ember-truth-helpers": "^4.0.3",
"ember-uikit": "^9.1.2",
"ember-uikit": "^9.1.3",
"ember-validated-form": "^7.0.1",
"flatpickr": "^4.6.13",
"handlebars": "^4.7.8",
Expand Down Expand Up @@ -115,7 +115,7 @@
"stylelint-config-standard-scss": "13.1.0",
"stylelint-prettier": "5.0.2",
"stylelint-scss": "6.5.0",
"uikit": "3.21.9",
"uikit": "3.22.2",
"webpack": "5.93.0"
},
"engines": {
Expand Down
Loading

0 comments on commit 108d486

Please sign in to comment.