From 30eb9bd0dfdbefd3e11122a71329c14dd04a9bc9 Mon Sep 17 00:00:00 2001 From: Nicolas Ettlin Date: Mon, 2 Oct 2023 00:29:42 +0200 Subject: [PATCH] Fix GitHub action implementation --- .github/workflows/lint.yml | 4 +++- package-lock.json | 24 ++++++++++++++++++++++++ package.json | 1 + 3 files changed, 28 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 393cf6c..4628cb4 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -7,7 +7,9 @@ jobs: steps: - uses: actions/checkout@v3 - uses: bahmutov/npm-install@v1 - - uses: editorconfig-checker/action-editorconfig-checker@main + - name: Check EditorConfig + run: npx editorconfig-checker + shell: bash - name: Check TypeScript run: npx tsc shell: bash diff --git a/package-lock.json b/package-lock.json index 2ff66f5..ca1e973 100644 --- a/package-lock.json +++ b/package-lock.json @@ -29,6 +29,7 @@ "@typescript-eslint/parser": "^5.44.0", "@vitejs/plugin-react": "^3.0.0", "babel-loader": "^8.3.0", + "editorconfig-checker": "^5.1.1", "eslint": "^8.28.0", "eslint-config-airbnb": "^19.0.4", "eslint-config-airbnb-typescript": "^17.0.0", @@ -9056,6 +9057,23 @@ "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", "dev": true }, + "node_modules/editorconfig-checker": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/editorconfig-checker/-/editorconfig-checker-5.1.1.tgz", + "integrity": "sha512-IBE7K48+6jLlhfmJ0TOTjogvO9Asw+4B8CoKn71KtZ8Qrvc7/WgrMyJxQRSdq6VGdh+D65/6JuQuHioMs2O1sw==", + "dev": true, + "bin": { + "ec": "dist/index.js", + "editorconfig-checker": "dist/index.js" + }, + "engines": { + "node": ">=18.0.0" + }, + "funding": { + "type": "buymeacoffee", + "url": "https://www.buymeacoffee.com/mstruebing" + } + }, "node_modules/ee-first": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", @@ -22663,6 +22681,12 @@ "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", "dev": true }, + "editorconfig-checker": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/editorconfig-checker/-/editorconfig-checker-5.1.1.tgz", + "integrity": "sha512-IBE7K48+6jLlhfmJ0TOTjogvO9Asw+4B8CoKn71KtZ8Qrvc7/WgrMyJxQRSdq6VGdh+D65/6JuQuHioMs2O1sw==", + "dev": true + }, "ee-first": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", diff --git a/package.json b/package.json index f01b38e..a493a7e 100644 --- a/package.json +++ b/package.json @@ -54,6 +54,7 @@ "@typescript-eslint/parser": "^5.44.0", "@vitejs/plugin-react": "^3.0.0", "babel-loader": "^8.3.0", + "editorconfig-checker": "^5.1.1", "eslint": "^8.28.0", "eslint-config-airbnb": "^19.0.4", "eslint-config-airbnb-typescript": "^17.0.0",