Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@freaktechnik/eslint-config-extension

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@freaktechnik/eslint-config-extension - npm Package Compare versions

Comparing version 10.0.7 to 10.0.8

18

index.js
import globals from "globals";
import eslintConfigBrowser from "@freaktechnik/eslint-config-browser";
import { FlatCompat } from "@eslint/eslintrc";
import path from "path";
import { fileURLToPath } from "url";
import { fixupConfigRules } from "@eslint/compat";
import nounsanitized from "eslint-plugin-no-unsanitized";
import { fixupPluginRules } from "@eslint/compat";
const dirname = path.dirname(fileURLToPath(import.meta.url)),
compat = new FlatCompat({
baseDirectory: dirname,
resolvePluginsRelativeTo: dirname,
});
export default [
...eslintConfigBrowser,
...fixupConfigRules(compat.extends("plugin:no-unsanitized/DOM")),
{
files: [ "**/*.js" ],
plugins: {
"no-unsanitized": fixupPluginRules(nounsanitized),
},
languageOptions: {

@@ -28,4 +22,6 @@ globals: {

"tree-shaking/no-side-effects-in-initialization": 0,
"no-unsanitized/method": "error",
"no-unsanitized/property": "error",
},
},
];
{
"name": "@freaktechnik/eslint-config-extension",
"version": "10.0.7",
"version": "10.0.8",
"description": "Browser extension linting config freaktechnik likes.",

@@ -26,3 +26,2 @@ "main": "index.js",

"@eslint/compat": "^1.0.1",
"@eslint/eslintrc": "^3.0.2",
"@freaktechnik/eslint-config-browser": "^10.0.6",

@@ -29,0 +28,0 @@ "eslint-plugin-no-unsanitized": "^4.0.2",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc