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

Commit 22100e5

Browse files
authored
Merge pull request #246 from NodeSecure/remove-lock
Remove package-lock.json & update dependencies
2 parents 41801d0 + 9529f10 commit 22100e5

File tree

7 files changed

+50
-7281
lines changed

7 files changed

+50
-7281
lines changed

.eslintrc

-7
This file was deleted.

.github/workflows/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
with:
2828
node-version: ${{ matrix.node-version }}
2929
- name: Install dependencies
30-
run: npm ci
30+
run: npm install
3131
- name: Run tests
3232
run: npm run test
3333
automerge:

.npmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
package-lock=false

eslint.config.mjs

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
// Import Node.js Dependencies
2+
import path from "node:path";
3+
import { fileURLToPath } from "node:url";
4+
5+
// Import Third-party Dependencies
6+
import { FlatCompat } from "@eslint/eslintrc";
7+
8+
const __filename = fileURLToPath(import.meta.url);
9+
const __dirname = path.dirname(__filename);
10+
11+
const compat = new FlatCompat({
12+
baseDirectory: __dirname
13+
});
14+
15+
export default [
16+
{
17+
ignores: [
18+
"**/node_modules/",
19+
"**/tmp/",
20+
"**/dist/",
21+
"**/coverage/",
22+
"**/fixtures/"
23+
]
24+
},
25+
...compat.extends("@nodesecure/eslint-config"),
26+
{
27+
languageOptions: {
28+
sourceType: "module",
29+
parserOptions: {
30+
requireConfigFile: false
31+
}
32+
},
33+
rules: {
34+
"func-style": "off",
35+
"no-invalid-this": "off",
36+
"no-inner-declarations": "off",
37+
"no-case-declarations": "off"
38+
}
39+
}
40+
];

0 commit comments

Comments
 (0)