mirror of
https://github.com/goauthentik/authentik
synced 2026-04-27 18:07:15 +02:00
* Prep logger for use outside web workspace. * Bump. Prep. * Add to publish list. * Update deps. * Add package directory.
31 lines
546 B
JavaScript
31 lines
546 B
JavaScript
/**
|
|
* @file ESLint Configuration
|
|
*
|
|
* @import { Config } from "eslint/config";
|
|
*/
|
|
|
|
import { createESLintPackageConfig } from "@goauthentik/eslint-config";
|
|
|
|
import { defineConfig } from "eslint/config";
|
|
|
|
// @ts-check
|
|
|
|
/**
|
|
* @type {Config[]}
|
|
*/
|
|
const eslintConfig = defineConfig(
|
|
createESLintPackageConfig({
|
|
parserOptions: {
|
|
tsconfigRootDir: import.meta.dirname,
|
|
},
|
|
}),
|
|
{
|
|
rules: {
|
|
"no-console": "off",
|
|
},
|
|
files: ["shared/**"],
|
|
},
|
|
);
|
|
|
|
export default eslintConfig;
|