issue-pane 2.6.0-3cf7b2ca → 2.6.0-490f7cf9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/eslint.config.mjs +25 -27
  2. package/package.json +1 -1
package/eslint.config.mjs CHANGED
@@ -1,35 +1,33 @@
1
1
  import { defineConfig } from "eslint/config";
2
- import { fixupConfigRules } from "@eslint/compat";
3
2
  import globals from "globals";
4
- import path from "node:path";
5
- import { fileURLToPath } from "node:url";
6
3
  import js from "@eslint/js";
7
- import { FlatCompat } from "@eslint/eslintrc";
8
-
9
- const __filename = fileURLToPath(import.meta.url);
10
- const __dirname = path.dirname(__filename);
11
- const compat = new FlatCompat({
12
- baseDirectory: __dirname,
13
- recommendedConfig: js.configs.recommended,
14
- allConfig: js.configs.all
15
- });
16
-
17
- export default defineConfig([{
18
- extends: fixupConfigRules(compat.extends("eslint:recommended", "plugin:import/recommended")),
4
+ import importPlugin from "eslint-plugin-import";
19
5
 
6
+ export default defineConfig([
7
+ {
20
8
  languageOptions: {
21
- globals: {
22
- ...globals.browser,
23
- ...globals.node,
24
- Atomics: "readonly",
25
- SharedArrayBuffer: "readonly",
26
- },
9
+ globals: {
10
+ ...globals.browser,
11
+ ...globals.node,
12
+ Atomics: "readonly",
13
+ SharedArrayBuffer: "readonly",
14
+ },
15
+ ecmaVersion: 2022,
16
+ sourceType: "module",
17
+ },
18
+ plugins: {
19
+ import: importPlugin,
27
20
  },
28
-
29
21
  rules: {
30
- "no-unused-vars": ["warn", {
31
- argsIgnorePattern: "^_",
32
- varsIgnorePattern: "^_",
33
- }],
22
+ ...js.configs.recommended.rules,
23
+ ...importPlugin.configs.recommended.rules,
24
+ "no-unused-vars": [
25
+ "warn",
26
+ {
27
+ argsIgnorePattern: "^_",
28
+ varsIgnorePattern: "^_",
29
+ },
30
+ ],
34
31
  },
35
- }]);
32
+ },
33
+ ]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "issue-pane",
3
- "version": "2.6.0-3cf7b2ca",
3
+ "version": "2.6.0-490f7cf9",
4
4
  "description": "Solid-compatible Panes: issue editor",
5
5
  "main": "./issuePane.js",
6
6
  "scripts": {