Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

Commit

Permalink
Merge pull request #246 from NodeSecure/remove-lock
Browse files Browse the repository at this point in the history
Remove package-lock.json & update dependencies
  • Loading branch information
fraxken authored Jul 31, 2024
2 parents 41801d0 + 9529f10 commit 22100e5
Show file tree
Hide file tree
Showing 7 changed files with 50 additions and 7,281 deletions.
7 changes: 0 additions & 7 deletions .eslintrc

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
run: npm install
- name: Run tests
run: npm run test
automerge:
Expand Down
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package-lock=false
40 changes: 40 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
// Import Node.js Dependencies
import path from "node:path";
import { fileURLToPath } from "node:url";

// Import Third-party Dependencies
import { FlatCompat } from "@eslint/eslintrc";

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);

const compat = new FlatCompat({
baseDirectory: __dirname
});

export default [
{
ignores: [
"**/node_modules/",
"**/tmp/",
"**/dist/",
"**/coverage/",
"**/fixtures/"
]
},
...compat.extends("@nodesecure/eslint-config"),
{
languageOptions: {
sourceType: "module",
parserOptions: {
requireConfigFile: false
}
},
rules: {
"func-style": "off",
"no-invalid-this": "off",
"no-inner-declarations": "off",
"no-case-declarations": "off"
}
}
];
Loading

0 comments on commit 22100e5

Please sign in to comment.