Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@technologiestiftung/eslint-plugin

Package Overview
Dependencies
Maintainers
6
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@technologiestiftung/eslint-plugin

ESLint plugin for Technologiestitung

latest
npmnpm
Version
0.1.1
Version published
Maintainers
6
Created
Source

All Contributors

@Technologiestiftung/eslint-plugin

This is a sharable eslint plugin for the @technologiestiftung organization. Should be the basis for JS and TS. Still WIP. Currently we only have one rule that we stole from the eslint-plugin-import.

[!IMPORTANT] We only support flat config!

Features:

  • no default exports

Prerequisites

  • Node.js
  • eslint

Installation

npm i @technologiestiftung/eslint-plugin --save-dev

Usage

In your eslint.config.js file, add the following:

import { plugin as technologiestiftungPlugin } from "@technologiestiftung/eslint-plugin";

export default [
	{
		files: ["**/*.{js,jsx,mjs,cjs,ts,tsx}"],
		rules: {
			"@technologiestiftung/no-default-export": "error",
		},
		plugins: { "@technologiestiftung": technologiestiftungPlugin },
	},
];

Development

tbd...

Tests

TODO:

see https://eslint.org/docs/latest/integrate/nodejs-api#ruletester

Contributing

Before you create a pull request, write an issue so we can discuss your changes.

Contributors

Thanks goes to these wonderful people (emoji key):

This project follows the all-contributors specification. Contributions of any kind welcome!

Credits

Made by

A project by

Supported by

Keywords

eslint

FAQs

Package last updated on 15 Apr 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts