-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: added linting, updated docs, updated license
- added eslint for dev and github automation - added donations to metadata.json - updated license to be less permissive - updated docs to reflect the project better - add some todo items to extensions
- Loading branch information
1 parent
4956ee5
commit 10ef0d8
Showing
7 changed files
with
824 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Lint | ||
|
||
on: | ||
push: | ||
branches: ["main"] | ||
pull_request: | ||
# The branches below must be a subset of the branches above | ||
branches: ["main"] | ||
|
||
jobs: | ||
eslint: | ||
name: Run eslint scanning | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
security-events: write | ||
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install ESLint | ||
run: | | ||
npm ci | ||
npm install @microsoft/[email protected] | ||
- name: Run ESLint | ||
run: npm run lint -- | ||
--format @microsoft/eslint-formatter-sarif | ||
--output-file eslint-results.sarif | ||
continue-on-error: true | ||
|
||
- name: Upload analysis results to GitHub | ||
uses: github/codeql-action/upload-sarif@v2 | ||
with: | ||
sarif_file: eslint-results.sarif | ||
wait-for-processing: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import globals from "globals"; | ||
import pluginJs from "@eslint/js"; | ||
import tseslint from "typescript-eslint"; | ||
import eslintPluginPrettier from "eslint-plugin-prettier/recommended"; | ||
|
||
export default [ | ||
{ languageOptions: { globals: globals.node } }, | ||
pluginJs.configs.recommended, | ||
...tseslint.configs.recommended, | ||
eslintPluginPrettier, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,14 @@ | ||
{ | ||
"name": "VSCode GNOME Extension", | ||
"name": "VSCode Workspaces GNOME", | ||
"description": "A VSCode/Codium Workspace management tool-set for GNOME", | ||
"uuid": "[email protected]", | ||
"url": "https://github.com/ZanzyTHEbar/vscode-nautilus", | ||
"settings-schema": "org.gnome.shell.extensions.vscode-workspaces-gnome", | ||
"shell-version": [ | ||
"45" | ||
] | ||
"45", | ||
"46" | ||
], | ||
"donations": { | ||
"github": "ZanzyTHEbar" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,12 +5,39 @@ | |
"type": "module", | ||
"private": true, | ||
"author": "ZanzyTHEbar <[email protected]>", | ||
"license": "MIT", | ||
"license": "LGPL-3.0-or-later", | ||
"sideEffects": false, | ||
"scripts": { | ||
"lint": "eslint . -c eslint.config.js", | ||
"lint:fix": "eslint --fix . -c eslint.config.js", | ||
"format": "prettier --check .", | ||
"format:fix": "prettier --write .", | ||
"prepare": "simple-git-hooks" | ||
}, | ||
"simple-git-hooks": { | ||
"pre-commit": "npx lint-staged", | ||
"pre-push": "npm run format" | ||
}, | ||
"lint-staged": { | ||
"*": "eslint --fix" | ||
}, | ||
"devDependencies": { | ||
"eslint": "^9.5.0", | ||
"@eslint/js": "^9.5.0", | ||
"eslint-plugin-jsdoc": "^48.2.15", | ||
"typescript": "^5.5.2" | ||
"typescript": "^5.5.2", | ||
"@types/node": "^20.14.2", | ||
"esbuild": "^0.21.1", | ||
"eslint-config-prettier": "^9.1.0", | ||
"eslint-plugin-prettier": "^5.1.3", | ||
"globals": "^15.2.0", | ||
"lint-staged": "^15.2.2", | ||
"prettier": "^3.2.5", | ||
"semantic-release": "^23.1.1", | ||
"simple-git-hooks": "^2.11.1", | ||
"tsm": "^2.3.0", | ||
"typescript-eslint": "^7.8.0", | ||
"uvu": "^0.5.6" | ||
}, | ||
"dependencies": { | ||
"@girs/gjs": "^3.3.0", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters