fix: lintが動かないのを修正, swもlint
This commit is contained in:
parent
8b961ba035
commit
83e1d53928
1
.github/workflows/lint.yml
vendored
1
.github/workflows/lint.yml
vendored
@ -14,6 +14,7 @@ jobs:
|
|||||||
workspace:
|
workspace:
|
||||||
- backend
|
- backend
|
||||||
- client
|
- client
|
||||||
|
- sw
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
@ -84,6 +84,7 @@
|
|||||||
"eslint-plugin-import": "2.26.0",
|
"eslint-plugin-import": "2.26.0",
|
||||||
"eslint-plugin-vue": "9.8.0",
|
"eslint-plugin-vue": "9.8.0",
|
||||||
"rollup": "3.5.1",
|
"rollup": "3.5.1",
|
||||||
"start-server-and-test": "1.14.0"
|
"start-server-and-test": "1.14.0",
|
||||||
|
"vue-eslint-parser": "^9.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -6,10 +6,10 @@ module.exports = {
|
|||||||
parserOptions: {
|
parserOptions: {
|
||||||
"parser": "@typescript-eslint/parser",
|
"parser": "@typescript-eslint/parser",
|
||||||
tsconfigRootDir: __dirname,
|
tsconfigRootDir: __dirname,
|
||||||
//project: ['./tsconfig.json'],
|
project: ['./tsconfig.json'],
|
||||||
},
|
},
|
||||||
extends: [
|
extends: [
|
||||||
//"../shared/.eslintrc.js",
|
"../shared/.eslintrc.js",
|
||||||
],
|
],
|
||||||
globals: {
|
globals: {
|
||||||
"require": false,
|
"require": false,
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"watch": "node build.js watch",
|
"watch": "node build.js watch",
|
||||||
"build": "node build.js",
|
"build": "node build.js",
|
||||||
"lint": "eslint --quiet src/**/*.{ts}"
|
"lint": "eslint --quiet src/**/*.ts"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"esbuild": "^0.14.42",
|
"esbuild": "^0.14.42",
|
||||||
@ -12,6 +12,8 @@
|
|||||||
"misskey-js": "0.0.14"
|
"misskey-js": "0.0.14"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"eslint": "^8.16.0"
|
"@typescript-eslint/parser": "^5.45.0",
|
||||||
|
"eslint": "^8.16.0",
|
||||||
|
"eslint-plugin-import": "^2.26.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2706,7 +2706,7 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@typescript-eslint/parser@npm:5.45.0":
|
"@typescript-eslint/parser@npm:5.45.0, @typescript-eslint/parser@npm:^5.45.0":
|
||||||
version: 5.45.0
|
version: 5.45.0
|
||||||
resolution: "@typescript-eslint/parser@npm:5.45.0"
|
resolution: "@typescript-eslint/parser@npm:5.45.0"
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -4875,6 +4875,7 @@ __metadata:
|
|||||||
vanilla-tilt: 1.7.3
|
vanilla-tilt: 1.7.3
|
||||||
vite: 3.2.4
|
vite: 3.2.4
|
||||||
vue: 3.2.45
|
vue: 3.2.45
|
||||||
|
vue-eslint-parser: ^9.1.0
|
||||||
vue-prism-editor: 2.0.0-alpha.2
|
vue-prism-editor: 2.0.0-alpha.2
|
||||||
vuedraggable: 4.0.1
|
vuedraggable: 4.0.1
|
||||||
languageName: unknown
|
languageName: unknown
|
||||||
@ -6940,7 +6941,7 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"eslint-plugin-import@npm:2.26.0":
|
"eslint-plugin-import@npm:2.26.0, eslint-plugin-import@npm:^2.26.0":
|
||||||
version: 2.26.0
|
version: 2.26.0
|
||||||
resolution: "eslint-plugin-import@npm:2.26.0"
|
resolution: "eslint-plugin-import@npm:2.26.0"
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -15702,8 +15703,10 @@ __metadata:
|
|||||||
version: 0.0.0-use.local
|
version: 0.0.0-use.local
|
||||||
resolution: "sw@workspace:packages/sw"
|
resolution: "sw@workspace:packages/sw"
|
||||||
dependencies:
|
dependencies:
|
||||||
|
"@typescript-eslint/parser": ^5.45.0
|
||||||
esbuild: ^0.14.42
|
esbuild: ^0.14.42
|
||||||
eslint: ^8.16.0
|
eslint: ^8.16.0
|
||||||
|
eslint-plugin-import: ^2.26.0
|
||||||
idb-keyval: ^6.1.0
|
idb-keyval: ^6.1.0
|
||||||
misskey-js: 0.0.14
|
misskey-js: 0.0.14
|
||||||
languageName: unknown
|
languageName: unknown
|
||||||
@ -16959,7 +16962,7 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"vue-eslint-parser@npm:^9.0.1":
|
"vue-eslint-parser@npm:^9.0.1, vue-eslint-parser@npm:^9.1.0":
|
||||||
version: 9.1.0
|
version: 9.1.0
|
||||||
resolution: "vue-eslint-parser@npm:9.1.0"
|
resolution: "vue-eslint-parser@npm:9.1.0"
|
||||||
dependencies:
|
dependencies:
|
||||||
|
Loading…
Reference in New Issue
Block a user