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:
npm i @technologiestiftung/eslint-plugin --save-dev
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 },
},
];
tbd...
TODO:
see https://eslint.org/docs/latest/integrate/nodejs-api#ruletester
Before you create a pull request, write an issue so we can discuss your changes.
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!
Made by
|
A project by
|
Supported by
|