chore: remove more unused code
This commit is contained in:
@@ -63,7 +63,6 @@
|
||||
"svelte-awesome-color-picker": "^3.1.4",
|
||||
"svelte-email": "^0.0.4",
|
||||
"svelte-meta-tags": "^3.1.2",
|
||||
"svelte-ui": "workspace:*",
|
||||
"sveltekit-i18n": "^2.4.2",
|
||||
"tailwind-merge": "^2.6.0",
|
||||
"tldts": "^6.1.41",
|
||||
@@ -91,7 +90,6 @@
|
||||
"carbon-icons-svelte": "^12.1.0",
|
||||
"diff": "^5.2.0",
|
||||
"dotenv": "^16.3.1",
|
||||
"eslint-config-custom": "workspace:*",
|
||||
"jessy": "^3.1.1",
|
||||
"jest": "^29.7.0",
|
||||
"postcss": "^8.4.24",
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
# Workspaces Eslint
|
||||
|
||||
collection of all internal eslint configurations
|
||||
|
||||
## Configurations
|
||||
|
||||
### `next.js`
|
||||
|
||||
This is a custom ESLint configuration for use with Next.js apps. This config extends the Vercel Engineering Style Guide.
|
||||
For more information, see [https://github.com/vercel/style-guide](https://github.com/vercel/style-guide)
|
||||
|
||||
### `react-internal.js`
|
||||
|
||||
This is a custom ESLint configuration for use with internal (bundled by their consumer) libraries that utilize React.
|
||||
|
||||
This config extends the Vercel Engineering Style Guide. For more information, see [https://github.com/vercel/style-guide](https://github.com/vercel/style-guide)
|
||||
|
||||
### `library.js`
|
||||
|
||||
This is a custom ESLint configuration for use with typescript packages. This config extends the Vercel Engineering Style Guide. For more information, see [https://github.com/vercel/style-guide](https://github.com/vercel/style-guide)
|
||||
|
||||
### `svelte.js`
|
||||
|
||||
something sweet
|
||||
@@ -1,25 +0,0 @@
|
||||
const { resolve } = require("node:path");
|
||||
|
||||
const project = resolve(process.cwd(), "tsconfig.json");
|
||||
|
||||
module.exports = {
|
||||
extends: [
|
||||
"@vercel/style-guide/eslint/node",
|
||||
"@vercel/style-guide/eslint/typescript",
|
||||
].map(require.resolve),
|
||||
parserOptions: {
|
||||
project,
|
||||
},
|
||||
globals: {
|
||||
React: true,
|
||||
JSX: true,
|
||||
},
|
||||
settings: {
|
||||
"import/resolver": {
|
||||
typescript: {
|
||||
project,
|
||||
},
|
||||
},
|
||||
},
|
||||
ignorePatterns: ["node_modules/", "dist/"],
|
||||
};
|
||||
@@ -1,33 +0,0 @@
|
||||
const { resolve } = require("node:path");
|
||||
|
||||
const project = resolve(process.cwd(), "tsconfig.json");
|
||||
|
||||
module.exports = {
|
||||
extends: [
|
||||
"@vercel/style-guide/eslint/node",
|
||||
"@vercel/style-guide/eslint/browser",
|
||||
"@vercel/style-guide/eslint/typescript",
|
||||
"@vercel/style-guide/eslint/react",
|
||||
"@vercel/style-guide/eslint/next",
|
||||
"eslint-config-turbo",
|
||||
].map(require.resolve),
|
||||
parserOptions: {
|
||||
project,
|
||||
},
|
||||
globals: {
|
||||
React: true,
|
||||
JSX: true,
|
||||
},
|
||||
settings: {
|
||||
"import/resolver": {
|
||||
typescript: {
|
||||
project,
|
||||
},
|
||||
},
|
||||
},
|
||||
ignorePatterns: ["node_modules/", "dist/"],
|
||||
// add rules configurations here
|
||||
rules: {
|
||||
"import/no-default-export": "off",
|
||||
},
|
||||
};
|
||||
@@ -1,18 +0,0 @@
|
||||
{
|
||||
"name": "eslint-config-custom",
|
||||
"version": "0.0.0",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"author": "Elvis Ndubuisi",
|
||||
"license": "MIT",
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vercel/style-guide": "^5.1.0",
|
||||
"eslint-config-turbo": "^1.10.16",
|
||||
"eslint-plugin-svelte": "^2.35.1",
|
||||
"typescript": "^5.1.6"
|
||||
}
|
||||
}
|
||||
-29
@@ -1,29 +0,0 @@
|
||||
const { resolve } = require("node:path");
|
||||
|
||||
const project = resolve(process.cwd(), "tsconfig.json");
|
||||
|
||||
module.exports = {
|
||||
extends: [
|
||||
"@vercel/style-guide/eslint/browser",
|
||||
"@vercel/style-guide/eslint/typescript",
|
||||
"@vercel/style-guide/eslint/react",
|
||||
].map(require.resolve),
|
||||
parserOptions: {
|
||||
project,
|
||||
},
|
||||
globals: {
|
||||
JSX: true,
|
||||
},
|
||||
settings: {
|
||||
"import/resolver": {
|
||||
typescript: {
|
||||
project,
|
||||
},
|
||||
},
|
||||
},
|
||||
ignorePatterns: ["node_modules/", "dist/", ".eslintrc.js"],
|
||||
|
||||
rules: {
|
||||
// add specific rules configurations here
|
||||
},
|
||||
};
|
||||
@@ -1,31 +0,0 @@
|
||||
module.exports = {
|
||||
root: true,
|
||||
extends: [
|
||||
"eslint:recommended",
|
||||
"plugin:@typescript-eslint/recommended",
|
||||
"plugin:svelte/recommended",
|
||||
"prettier",
|
||||
"turbo",
|
||||
],
|
||||
parser: "@typescript-eslint/parser",
|
||||
plugins: ["@typescript-eslint"],
|
||||
parserOptions: {
|
||||
sourceType: "module",
|
||||
ecmaVersion: 2020,
|
||||
extraFileExtensions: [".svelte"],
|
||||
},
|
||||
env: {
|
||||
browser: true,
|
||||
es2017: true,
|
||||
node: true,
|
||||
},
|
||||
overrides: [
|
||||
{
|
||||
files: ["*.svelte"],
|
||||
parser: "svelte-eslint-parser",
|
||||
parserOptions: {
|
||||
parser: "@typescript-eslint/parser",
|
||||
},
|
||||
},
|
||||
],
|
||||
};
|
||||
Generated
+11922
-11251
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user