-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
1,409 additions
and
364 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// This ESLint config is part of Share₂Fedi | ||
// https://github.com/kytta/share2fedi | ||
// | ||
// SPDX-FileCopyrightText: © 2023 Nikita Karamov <[email protected]> | ||
// SPDX-License-Identifier: CC0-1.0 | ||
import globals from "globals"; | ||
import js from "@eslint/js"; | ||
import ts from "typescript-eslint"; | ||
import astro from "eslint-plugin-astro"; | ||
import unicorn from "eslint-plugin-unicorn"; | ||
import prettier from "eslint-config-prettier"; | ||
|
||
/** @type {import('@typescript-eslint/utils').TSESLint.FlatConfig.ConfigFile} */ | ||
export default [ | ||
{ | ||
ignores: [".astro", ".vercel/", "dist/", "script/"], | ||
}, | ||
{ | ||
languageOptions: { | ||
globals: { | ||
...globals.browser, | ||
}, | ||
}, | ||
}, | ||
js.configs.recommended, | ||
...ts.configs.recommended, | ||
unicorn.configs["flat/recommended"], | ||
...astro.configs["jsx-a11y-strict"], | ||
prettier, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.