Skip to content

Commit

Permalink
Merge pull request #75 from SavageCore/dependabot/npm_and_yarn/develo…
Browse files Browse the repository at this point in the history
…pment-dependencies-73bda7e94d

Bump the development-dependencies group across 1 directory with 24 updates
  • Loading branch information
SavageCore authored Oct 8, 2024
2 parents a1e66a6 + ed10331 commit e8cb00b
Show file tree
Hide file tree
Showing 4 changed files with 2,006 additions and 1,844 deletions.
42 changes: 0 additions & 42 deletions .eslintrc

This file was deleted.

58 changes: 58 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
import typescriptEslint from "@typescript-eslint/eslint-plugin";
import globals from "globals";
import tsParser from "@typescript-eslint/parser";
import parser from "svelte-eslint-parser";
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.extends(
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:svelte/recommended",
"prettier",
), {
plugins: {
"@typescript-eslint": typescriptEslint,
},

languageOptions: {
globals: {
...globals.browser,
...globals.node,
},

parser: tsParser,
ecmaVersion: 2020,
sourceType: "module",

parserOptions: {
extraFileExtensions: [".svelte"],
},
},

rules: {
semi: ["error", "always"],
},
}, {
files: ["**/*.svelte"],

languageOptions: {
parser: parser,
ecmaVersion: 5,
sourceType: "script",

parserOptions: {
parser: "@typescript-eslint/parser",
},
},
}];
57 changes: 30 additions & 27 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,47 +13,50 @@
"test:coverage": "vitest run --coverage",
"test:ui": "vitest --ui",
"test:watch": "vitest",
"lint": "eslint -c .eslintrc --ext .svelte,.ts src",
"lint": "eslint src",
"lint:styles": "stylelint --config .stylelintrc \"src/**/*.{css,scss}\"",
"format": "eslint -c .eslintrc --fix --ext .svelte,.ts --fix src",
"format": "eslint --fix src",
"format:prettier": "prettier --write src/**/{*.svelte,*.ts,*.scss}",
"format:stylelint": "stylelint --config .stylelintrc \"src/**/*.{css,scss}\" --fix",
"prepare": "husky",
"generate-pwa-assets": "pwa-assets-generator"
},
"devDependencies": {
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.12.0",
"@picocss/pico": "^2.0.6",
"@sveltejs/vite-plugin-svelte": "^3.0.2",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/svelte": "^4.1.0",
"@sveltejs/vite-plugin-svelte": "^3.1.1",
"@testing-library/jest-dom": "^6.4.8",
"@testing-library/svelte": "^5.2.1",
"@tsconfig/svelte": "^5.0.3",
"@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@vite-pwa/assets-generator": "^0.2.4",
"@vitest/coverage-v8": "^1.4.0",
"@vitest/ui": "^1.2.2",
"@vitest/coverage-v8": "^2.0.4",
"@vitest/ui": "^2.0.4",
"autoprefixer": "^10.4.19",
"eslint": "^8.57.0",
"eslint": "^9.8.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte": "^2.35.1",
"husky": "^9.0.11",
"jsdom": "^24.0.0",
"postcss": "^8.4.38",
"prettier": "^3.2.5",
"eslint-plugin-svelte": "^2.43.0",
"globals": "^15.10.0",
"husky": "^9.1.4",
"jsdom": "^24.1.1",
"postcss": "^8.4.40",
"prettier": "^3.3.3",
"prettier-plugin-css-order": "^2.1.0",
"prettier-plugin-svelte": "^3.2.2",
"sass": "^1.72.0",
"stylelint": "^16.3.0",
"prettier-plugin-svelte": "^3.2.6",
"sass": "^1.77.8",
"stylelint": "^16.8.0",
"stylelint-config-standard-scss": "^13.0.0",
"stylelint-prettier": "^5.0.0",
"svelte": "^4.2.12",
"svelte-check": "^3.6.8",
"stylelint-prettier": "^5.0.2",
"svelte": "^4.2.18",
"svelte-check": "^3.8.4",
"svelte-i18n": "^4.0.0",
"svelte-preprocess": "^5.1.3",
"tslib": "^2.6.2",
"typescript": "^5.4.3",
"vite": "^5.2.6",
"svelte-preprocess": "^6.0.2",
"tslib": "^2.6.3",
"typescript": "^5.5.4",
"vite": "^5.3.5",
"vite-plugin-mkcert": "^1.17.5",
"vite-plugin-pwa": "^0.19.7",
"vitest": "^1.2.2"
"vite-plugin-pwa": "^0.20.1",
"vitest": "^2.0.4"
}
}
}
Loading

0 comments on commit e8cb00b

Please sign in to comment.