Skip to content

Commit

Permalink
Add package.json for eslint dependencies
Browse files Browse the repository at this point in the history
The new eslint doesn't like globally-installed modules, so we'll need
to run an `npm install` in the project directory to install the
necessary modules into a local node_modules directory before running
eslint.
  • Loading branch information
ferdnyc authored and andyholmes committed Jan 30, 2025
1 parent a5df60b commit f245859
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@
_build
*~
webextension/*.zip
/node_modules
/package-lock.json

10 changes: 10 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"devDependencies": {
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.19.0",
"@stylistic/eslint-plugin-js": "^3.0.0",
"eslint-plugin-jsdoc": "^50.6.3",
"globals": "^15.14.0"
}
}

3 changes: 3 additions & 0 deletions package.json.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: GSConnect Developers https://github.com/GSConnect

SPDX-License-Identifier: GPL-2.0-or-later

0 comments on commit f245859

Please sign in to comment.