Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

chore(deps-dev): bump eslint from 8.57.1 to 9.16.0 #125

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Dec 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions 18 .eslintrc.js

This file was deleted.

45 changes: 45 additions & 0 deletions 45 eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
import github from "eslint-plugin-github";
import globals from "globals";
import path from "node:path";
import { fileURLToPath } from "node:url";
import js from "@eslint/js";
import { FlatCompat } from "@eslint/eslintrc";

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);

const compat = new FlatCompat({
baseDirectory: __dirname,
recommendedConfig: js.configs.recommended,
allConfig: js.configs.all
});

export default [...compat.config({
extends: "plugin:github/recommended",
ignorePatterns: ['eslint.config.mjs', '.markdownlint-cli2.cjs'],
rules: {
"import/no-commonjs": "off",
"filenames/match-regex": "off",
"i18n-text/no-en": "off",
},
}), {
plugins: {
github,
},
ignores: ['eslint.config.mjs', '.markdownlint-cli2.cjs'],
languageOptions: {
globals: {
...globals.node,
...globals.jest,
},

ecmaVersion: 2020,
sourceType: "commonjs",
},

rules: {
"import/no-commonjs": "off",
"filenames/match-regex": "off",
"i18n-text/no-en": "off",
},
}];
Loading
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.