This repository has been archived by the owner on Aug 14, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #246 from NodeSecure/remove-lock
Remove package-lock.json & update dependencies
- Loading branch information
Showing
7 changed files
with
50 additions
and
7,281 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
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 @@ | ||
package-lock=false |
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,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" | ||
} | ||
} | ||
]; |
Oops, something went wrong.