Skip to content

Commit

Permalink
Merge pull request #476 from NullVoxPopuli/upgrade-lint-dependencies
Browse files Browse the repository at this point in the history
Upgrade lint changes
  • Loading branch information
NullVoxPopuli authored Dec 28, 2023
2 parents db869cf + a72ab0a commit da4d988
Show file tree
Hide file tree
Showing 16 changed files with 694 additions and 700 deletions.
20 changes: 17 additions & 3 deletions ember-statechart-component/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
'use strict';
"use strict";

const { configs } = require('@nullvoxpopuli/eslint-configs');
const { configs } = require("@nullvoxpopuli/eslint-configs");

module.exports = configs.ember();
const config = configs.ember();

module.exports = {
...config,
overrides: [
...config.overrides,
{
files: ["**/*.ts"],
rules: {
"@typescript-eslint/ban-types": "off",
"@typescript-eslint/no-explicit-any": "off",
},
},
],
};
27 changes: 15 additions & 12 deletions ember-statechart-component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"scripts": {
"start": "concurrently \"npm:watch:*\"",
"build": "concurrently \"npm:build:*\"",
"build:js": "rollup -c",
"build:js": "rollup -c ./rollup.config.mjs",
"build:docs": "cp ../README.md ./README.md",
"watch:js": "rollup -c --watch --no-watch.clearScreen",
"lint": "concurrently \"npm:lint:js\"",
Expand All @@ -64,16 +64,17 @@
},
"devDependencies": {
"@babel/core": "7.23.6",
"@babel/eslint-parser": "^7.23.3",
"@babel/plugin-proposal-class-properties": "7.18.6",
"@babel/plugin-syntax-decorators": "7.23.3",
"@babel/plugin-transform-typescript": "^7.18.6",
"@babel/preset-typescript": "7.23.3",
"@embroider/addon-dev": "1.8.3",
"@glimmer/compiler": "^0.84.0",
"@glimmer/compiler": "^0.87.1",
"@glimmer/component": "^1.0.4",
"@glimmer/env": "^0.1.7",
"@glint/template": "^1.2.1",
"@nullvoxpopuli/eslint-configs": "^2.1.10",
"@nullvoxpopuli/eslint-configs": "^3.2.2",
"@types/ember": "^4.0.0",
"@types/ember__application": "^4.0.0",
"@types/ember__component": "^4.0.0",
Expand All @@ -82,21 +83,23 @@
"@types/ember__routing": "^4.0.0",
"@types/ember__runloop": "^4.0.0",
"@types/ember__service": "^4.0.0",
"@typescript-eslint/eslint-plugin": "^6.16.0",
"@typescript-eslint/parser": "^6.16.0",
"babel-eslint": "10.1.0",
"concurrently": "^7.0.0",
"concurrently": "^8.2.2",
"ember-cli-htmlbars": "^6.0.0",
"ember-template-lint": "3.16.0",
"eslint": "^7.0.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-decorator-position": "^4.0.0",
"eslint-plugin-ember": "^10.5.3",
"ember-template-lint": "5.13.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-decorator-position": "^5.0.2",
"eslint-plugin-ember": "^11.12.0",
"eslint-plugin-import": "^2.24.1",
"eslint-plugin-json": "^3.1.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"eslint-plugin-prettier": "^5.1.2",
"eslint-plugin-simple-import-sort": "^10.0.0",
"npm-run-all": "4.1.5",
"prettier": "^2.3.2",
"prettier": "^3.1.1",
"rollup": "2.78.1",
"rollup-plugin-ts": "^3.0.2",
"typescript": "^4.4.2",
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '@ember/component';

import type {TemplateFactory} from 'ember-cli-htmlbars';

type TF = TemplateFactory;
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@
"lint": "pnpm run --filter '*' lint:js --fix"
},
"devDependencies": {
"ember-template-lint": "^3.12.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-ember": "^10.5.7",
"ember-template-lint": "^5.13.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-ember": "^11.12.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-prettier": "^5.1.2",
"npm-run-all": "^4.1.5",
"prettier": "^2.4.1",
"prettier": "^3.1.1",
"release-plan": "^0.6.0"
},
"packageManager": "[email protected]",
Expand Down
Loading

0 comments on commit da4d988

Please sign in to comment.