Skip to content
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
1 change: 1 addition & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export default [
'dist/**',
'lib/**',
'examples/**',
'src/stories/**',
'*.js'
],
},
Expand Down
74 changes: 74 additions & 0 deletions eslint.config.mjs.auth-v2
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
import typescriptEslint from "@typescript-eslint/eslint-plugin";
import typescriptEslintRecommended from "@typescript-eslint/eslint-plugin/configs/recommended"; // Import the recommended config
import globals from "globals";
import tsParser from "@typescript-eslint/parser";
import promise from 'eslint-plugin-promise';
import promiseRecommended from 'eslint-plugin-promise/recommended'; // Import promise config
import n from 'eslint-plugin-n';
import nRecommendedTs from 'eslint-plugin-n/configs/recommended-typescript';
import importPlugin from 'eslint-plugin-import'; // Import import plugin
import importRecommended from 'eslint-plugin-import/config/recommended'; // Import import config

export default [
{
ignores: ["**/dist"],
},
{
plugins: {
"@typescript-eslint": typescriptEslint,
promise: promise,
n: n,
import: importPlugin, // Add import plugin
},
languageOptions: {
globals: {
...globals.browser,
...globals.node,
Atomics: "readonly",
SharedArrayBuffer: "readonly",
},
parser: tsParser,
},
files: ["src/**/*", "test/**/*"],
},
// spread the configuration files into the final config
typescriptEslintRecommended,
promiseRecommended,
nRecommendedTs,
importRecommended, // Add import config
{
rules: {
"no-unused-vars": ["warn", {
argsIgnorePattern: "^_",
varsIgnorePattern: "^_",
}],
"@typescript-eslint/no-unused-vars": ["warn", {
argsIgnorePattern: "^_",
varsIgnorePattern: "^_",
}],
"promise/param-names": "error",
"n/no-callback-literal": "error",
// Remove rules added by the extends and not needed
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"no-var": "warn",
"n/no-unsupported-features/es-syntax": "off",
// import rules
'import/no-unresolved': 'off', // Because of the types conflict
'import/named': 'warn',
'import/default': 'warn',
'import/namespace': 'warn',
'import/no-absolute-path': 'warn',
'import/no-dynamic-require': 'warn',
'import/no-webpack-loader-syntax': 'warn',
'import/no-self-import': 'warn',
'import/no-useless-path-segments': 'warn',
'import/export': 'warn',
'import/no-named-as-default': 'warn',
'import/no-named-as-default-member': 'warn',
'import/no-deprecated': 'warn',
'import/no-extraneous-dependencies': 'warn',
'import/no-mutable-exports': 'warn'
},
}
];
Comment on lines +1 to +74
Copy link

Copilot AI Jan 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This entire file appears to be accidentally committed. The filename suffix ".auth-v2" suggests this is a backup, alternative configuration, or work-in-progress file that should not be part of the main codebase. There are no references to this file elsewhere in the project, and it duplicates functionality already present in the main eslint.config.mjs file. Consider removing this file unless there's a specific reason for its inclusion that should be documented.

Suggested change
import typescriptEslint from "@typescript-eslint/eslint-plugin";
import typescriptEslintRecommended from "@typescript-eslint/eslint-plugin/configs/recommended"; // Import the recommended config
import globals from "globals";
import tsParser from "@typescript-eslint/parser";
import promise from 'eslint-plugin-promise';
import promiseRecommended from 'eslint-plugin-promise/recommended'; // Import promise config
import n from 'eslint-plugin-n';
import nRecommendedTs from 'eslint-plugin-n/configs/recommended-typescript';
import importPlugin from 'eslint-plugin-import'; // Import import plugin
import importRecommended from 'eslint-plugin-import/config/recommended'; // Import import config
export default [
{
ignores: ["**/dist"],
},
{
plugins: {
"@typescript-eslint": typescriptEslint,
promise: promise,
n: n,
import: importPlugin, // Add import plugin
},
languageOptions: {
globals: {
...globals.browser,
...globals.node,
Atomics: "readonly",
SharedArrayBuffer: "readonly",
},
parser: tsParser,
},
files: ["src/**/*", "test/**/*"],
},
// spread the configuration files into the final config
typescriptEslintRecommended,
promiseRecommended,
nRecommendedTs,
importRecommended, // Add import config
{
rules: {
"no-unused-vars": ["warn", {
argsIgnorePattern: "^_",
varsIgnorePattern: "^_",
}],
"@typescript-eslint/no-unused-vars": ["warn", {
argsIgnorePattern: "^_",
varsIgnorePattern: "^_",
}],
"promise/param-names": "error",
"n/no-callback-literal": "error",
// Remove rules added by the extends and not needed
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"no-var": "warn",
"n/no-unsupported-features/es-syntax": "off",
// import rules
'import/no-unresolved': 'off', // Because of the types conflict
'import/named': 'warn',
'import/default': 'warn',
'import/namespace': 'warn',
'import/no-absolute-path': 'warn',
'import/no-dynamic-require': 'warn',
'import/no-webpack-loader-syntax': 'warn',
'import/no-self-import': 'warn',
'import/no-useless-path-segments': 'warn',
'import/export': 'warn',
'import/no-named-as-default': 'warn',
'import/no-named-as-default-member': 'warn',
'import/no-deprecated': 'warn',
'import/no-extraneous-dependencies': 'warn',
'import/no-mutable-exports': 'warn'
},
}
];
// This file is intentionally kept as a thin alias to the main ESLint config.
// Some tooling and legacy scripts may reference `eslint.config.mjs.auth-v2`
// directly, so we re-export the primary configuration instead of duplicating it.
// All actual ESLint settings should be maintained in `eslint.config.mjs`.
import mainConfig from "./eslint.config.mjs";
export default mainConfig;

Copilot uses AI. Check for mistakes.
71 changes: 37 additions & 34 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

48 changes: 24 additions & 24 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "solid-ui",
"version": "3.0.1",
"version": "3.0.2",
"description": "UI library for Solid applications",
"main": "dist/solid-ui.js",
"types": "dist/index.d.ts",
Expand Down Expand Up @@ -69,7 +69,7 @@
"@noble/hashes": "^2.0.1",
"escape-html": "^1.0.3",
"mime-types": "^3.0.2",
"pane-registry": "^3.0.0",
"pane-registry": "^3.0.1",
"solid-namespace": "^0.5.4",
"uuid": "^13.0.0"
},
Expand All @@ -78,14 +78,14 @@
"solid-logic": "^4.0.1"
},
"devDependencies": {
"@babel/cli": "^7.28.3",
"@babel/core": "^7.28.3",
"@babel/plugin-transform-runtime": "^7.28.3",
"@babel/preset-env": "^7.28.0",
"@babel/preset-typescript": "^7.27.1",
"@babel/runtime": "^7.28.2",
"@eslint/js": "^9.32.0",
"@mdx-js/react": "^3.1.0",
"@babel/cli": "^7.28.6",
"@babel/core": "^7.28.6",
"@babel/plugin-transform-runtime": "^7.28.5",
"@babel/preset-env": "^7.28.6",
"@babel/preset-typescript": "^7.28.5",
"@babel/runtime": "^7.28.6",
"@eslint/js": "^9.39.2",
"@mdx-js/react": "^3.1.1",
"@storybook/addon-actions": "8.6.15",
"@storybook/addon-docs": "8.6.15",
"@storybook/addon-essentials": "8.6.15",
Expand All @@ -98,34 +98,34 @@
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^30.0.0",
"@types/jsdom": "^27.0.0",
"@types/node": "^25.0.3",
"@typescript-eslint/parser": "^8.48.1",
"babel-jest": "^30.1.2",
"@types/node": "^25.0.10",
"@typescript-eslint/parser": "^8.53.1",
"babel-jest": "^30.2.0",
"babel-loader": "^10.0.0",
"eslint": "^9.32.0",
"eslint": "^9.39.2",
"eslint-import-resolver-typescript": "^4.4.4",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-jest": "^29.2.1",
"eslint-plugin-n": "^17.21.3",
"eslint-plugin-jest": "^29.12.1",
"eslint-plugin-n": "^17.23.2",
"eslint-plugin-promise": "^7.2.1",
"get-random-values": "^4.0.0",
"get-random-values": "^4.1.1",
"globals": "^17.1.0",
"isomorphic-fetch": "^3.0.0",
"jest": "^30.2.0",
"jest-environment-jsdom": "^30.0.5",
"jest-environment-jsdom": "^30.2.0",
"jsdom": "^27.4.0",
"neostandard": "^0.12.2",
"nock": "^15.0.0",
"rdflib": "^2.3.0",
"rdflib": "^2.3.5",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-is": "^17.0.2",
"solid-logic": "^4.0.1",
"solid-logic": "^4.0.2",
"storybook": "8.6.15",
"terser-webpack-plugin": "^5.3.15",
"typedoc": "^0.28.9",
"typescript": "^5.9.2",
"webpack": "^5.103.0",
"terser-webpack-plugin": "^5.3.16",
"typedoc": "^0.28.16",
"typescript": "^5.9.3",
"webpack": "^5.104.1",
"webpack-cli": "^6.0.1"
},
"optionalDependencies": {
Expand Down
Loading