Skip to content

Commit

Permalink
33476855: Switch to eslint plugin from dev-doc
Browse files Browse the repository at this point in the history
  • Loading branch information
DamienCassou committed Jul 11, 2023
1 parent 9805083 commit 729edf5
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .eslintrc.js
Expand Up @@ -2,7 +2,7 @@
module.exports = {
root: true,
extends: [
"ftgp",
"plugin:@foretagsplatsen/eslint-plugin-ftgp/main",
"plugin:prettier/recommended",
"plugin:import/recommended",
],
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Expand Up @@ -6,6 +6,9 @@ on:
pull_request:
branches: [ main ]

env:
FINSIT_GITHUB: ${{ secrets.FINSIT_GITHUB }}

jobs:
build:

Expand Down
2 changes: 2 additions & 0 deletions .npmrc
@@ -0,0 +1,2 @@
@foretagsplatsen:registry=https://npm.pkg.github.com/
//npm.pkg.github.com/:_authToken=${FINSIT_GITHUB}
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -10,6 +10,7 @@
"test": "karma start"
},
"devDependencies": {
"@foretagsplatsen/eslint-plugin-ftgp": "^2.1.1",
"electron": "^25.0.1",
"eslint": "^8.43.0",
"eslint-config-ftgp": "^2.1.1",
Expand Down
9 changes: 9 additions & 0 deletions yarn.lock
Expand Up @@ -59,6 +59,15 @@
resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.43.0.tgz#559ca3d9ddbd6bf907ad524320a0d14b85586af0"
integrity sha512-s2UHCoiXfxMvmfzqoN+vrQ84ahUSYde9qNO1MdxmoEhyHWsfmwOpFlwYV+ePJEVc7gFnATGUi376WowX1N7tFg==

"@foretagsplatsen/eslint-plugin-ftgp@^2.1.1":
version "2.1.1"
resolved "https://npm.pkg.github.com/download/@foretagsplatsen/eslint-plugin-ftgp/2.1.1/b5a4528aa5d6bff5eedfa51faf96a68dfbc25b8b#b5a4528aa5d6bff5eedfa51faf96a68dfbc25b8b"
integrity sha512-tng4H6j3nnBRYC1zPE2BB+z1nhXB5u6m0LEkAQ9iyl9yHYQNFihD5DH0QvVnqxZeK6/JcubFhqVXoCAVd5RN2A==
dependencies:
eslint-plugin-ftgp "^3.0.0"
eslint-plugin-jasmine "^4.1.3"
eslint-plugin-promise "^6.0.0"

"@humanwhocodes/config-array@^0.11.10":
version "0.11.10"
resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.10.tgz#5a3ffe32cc9306365fb3fd572596cd602d5e12d2"
Expand Down

0 comments on commit 729edf5

Please sign in to comment.