🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

@technologiestiftung/eslint-config

Package Overview
Dependencies
Maintainers
6
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@technologiestiftung/eslint-config

ESLint shareable config for @technologiestiftung

npmnpm
Version
0.1.1-1
Version published
Weekly downloads
378
37.45%
Maintainers
6
Weekly downloads
 
Created
Source

All Contributors

Sharable eslint config for @technologiestiftung

This is a sharable eslint config for the @technologiestiftung organization. Still WIP The idea here is to start out with a flat config but still be backwards compatible with the old config. So our team does not have to set the env variable ESLINT_USE_FLAT_CONFIG=true but can just reference this config as extend in the old config style.

The rules we apply should also be only for coding style not formatting. We should use prettier for that.

TODO

  • Figure out how we can leverage the flat config already and be backwards compatible
  • Add relevant rules
  • Figure out how we can use this for javascript and typescript projects
  • Add tests

Prerequisites

  • Node.js
  • eslint

Installation

npm install @technologiestiftung/eslint-config --save-dev

Usage

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

import technologiestiftung from "@technologiestiftung/eslint-config";

export default {
	...technologiestiftung,
	rules: {
		// your rules here
	},
};
ESLINT_USE_FLAT_CONFIG=true npx eslint

If you are using VSCode set the following in your settings:

{ "eslint.experimental.useFlatConfig": true }

Development

  • Add good rules to index.js

Tests

npm t

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!

Content Licensing

Texts and content available as CC BY.

Illustrations by {MARIA_MUSTERFRAU}, all rights reserved.

Credits

Made by

A project by

Supported by

Keywords

eslint

FAQs

Package last updated on 02 Mar 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