Skip to content

Commit

Permalink
chore: don't format fixtures (#818)
Browse files Browse the repository at this point in the history
  • Loading branch information
ematipico authored Mar 11, 2024
1 parent 19610cb commit ba47241
Show file tree
Hide file tree
Showing 8 changed files with 49 additions and 155 deletions.
4 changes: 2 additions & 2 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = {
parser: '@typescript-eslint/parser',
extends: ['plugin:@typescript-eslint/recommended', 'prettier'],
plugins: ['@typescript-eslint', 'prettier'],
extends: ['plugin:@typescript-eslint/recommended'],
plugins: ['@typescript-eslint'],
rules: {
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/camelcase': 'off',
Expand Down
1 change: 1 addition & 0 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"ignore": [
"**/dist/**/*",
"**/node_modules/**/*",
"**/fixture/**/*",
"**/fixtures/**/*",
"**/.vscode-test/**/*",
".github",
Expand Down
11 changes: 2 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,11 @@
"lint": "eslint . --ext .js,.ts,.mjs,.cjs"
},
"devDependencies": {
"@biomejs/biome": "1.5.3",
"@biomejs/biome": "1.6.0",
"@changesets/cli": "^2.26.1",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"prettier": "^3.2.5",
"turbo": "1.10.2",
"typescript": "^5.2.2"
Expand All @@ -36,12 +34,7 @@
"packageManager": "pnpm@8.6.2",
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": [
"vue",
"vite",
"svelte",
"@babel/core"
]
"ignoreMissing": ["vue", "vite", "svelte", "@babel/core"]
}
}
}
6 changes: 1 addition & 5 deletions packages/astro-check/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,7 @@
"bin": {
"astro-check": "./dist/bin.js"
},
"files": [
"bin",
"dist/**/*.js",
"dist/**/*.d.ts"
],
"files": ["bin", "dist/**/*.js", "dist/**/*.d.ts"],
"scripts": {
"build": "tsc",
"dev": "tsc --watch",
Expand Down
7 changes: 1 addition & 6 deletions packages/language-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,7 @@
},
"type": "commonjs",
"main": "dist/index.js",
"files": [
"bin",
"dist/**/*.js",
"dist/**/*.d.ts",
"types/**/*.d.ts"
],
"files": ["bin", "dist/**/*.js", "dist/**/*.d.ts", "types/**/*.d.ts"],
"bin": {
"astro-ls": "./bin/nodeServer.js"
},
Expand Down
12 changes: 2 additions & 10 deletions packages/ts-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,8 @@
"url": "https://github.com/withastro/language-tools",
"directory": "packages/ts-plugin"
},
"keywords": [
"astro",
"typescript",
"javascript",
"plugin"
],
"files": [
"dist/**/*.js",
"dist/**/*.d.ts"
],
"keywords": ["astro", "typescript", "javascript", "plugin"],
"files": ["dist/**/*.js", "dist/**/*.d.ts"],
"scripts": {
"build": "tsc",
"dev": "tsc --watch",
Expand Down
37 changes: 7 additions & 30 deletions packages/vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@
"name": "astro-vscode",
"displayName": "Astro",
"description": "Language support for Astro",
"categories": [
"Programming Languages",
"Formatters",
"Linters"
],
"categories": ["Programming Languages", "Formatters", "Linters"],
"qna": false,
"keywords": [
"astro",
Expand All @@ -31,17 +27,9 @@
"engines": {
"vscode": "^1.82.0"
},
"activationEvents": [
"onLanguage:astro",
"workspaceContains:astro.config.*"
],
"activationEvents": ["onLanguage:astro", "workspaceContains:astro.config.*"],
"main": "./dist/node/client.js",
"files": [
"dist/",
"languages/",
"syntaxes/",
"assets/"
],
"files": ["dist/", "languages/", "syntaxes/", "assets/"],
"repository": {
"type": "git",
"url": "https://github.com/withastro/language-tools.git",
Expand Down Expand Up @@ -141,11 +129,7 @@
"astro.trace.server": {
"scope": "window",
"type": "string",
"enum": [
"off",
"messages",
"verbose"
],
"enum": ["off", "messages", "verbose"],
"default": "off",
"description": "Traces the communication between VS Code and the language server."
}
Expand All @@ -154,12 +138,8 @@
"languages": [
{
"id": "astro",
"extensions": [
".astro"
],
"aliases": [
"Astro"
],
"extensions": [".astro"],
"aliases": ["Astro"],
"configuration": "./languages/astro-language-configuration.json",
"icon": {
"light": "./assets/lang-icon-light.svg",
Expand Down Expand Up @@ -196,10 +176,7 @@
{
"scopeName": "text.html.markdown.astro",
"path": "./syntaxes/markdown.astro.tmLanguage.json",
"injectTo": [
"text.html.markdown",
"source.astro"
],
"injectTo": ["text.html.markdown", "source.astro"],
"embeddedLanguages": {
"meta.embedded.block.astro": "astro",
"meta.embedded.block.astro.frontmatter": "typescriptreact"
Expand Down
Loading

0 comments on commit ba47241

Please sign in to comment.