Skip to content

Commit

Permalink
Merge pull request #31 from mainmatter/dbeer/fix-linting
Browse files Browse the repository at this point in the history
Fix linting
  • Loading branch information
beerinho authored Mar 23, 2024
2 parents a7096ca + fe9484e commit 8d9c20e
Show file tree
Hide file tree
Showing 4 changed files with 90 additions and 73 deletions.
4 changes: 4 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ node_modules
pnpm-lock.yaml
package-lock.json
yarn.lock

# Ignore files that are created by release-plan
CHANGELOG.md
.release-plan.json
9 changes: 9 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: CI
on: [push]
jobs:
build:
name: Lint
steps:
- uses: pnpm/action-setup@v2
- run: pnpm i --frozen-lockfile
- run: pnpm run lint
4 changes: 4 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,7 @@
pnpm-lock.yaml
package-lock.json
yarn.lock

# Ignore files that are created by release-plan
CHANGELOG.md
.release-plan.json
146 changes: 73 additions & 73 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,75 +1,75 @@
{
"name": "svelte-concurrency",
"version": "0.1.0",
"repository": {
"type": "git",
"url": "[email protected]:mainmatter/svelte-concurrency.git"
},
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./task": {
"types": "./dist/task.d.ts",
"import": "./dist/task.js"
},
"./vite": {
"types": "./dist/vite.d.ts",
"import": "./dist/vite.js"
}
},
"svelte": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist",
"!dist/**/*.test.*",
"!dist/**/*.spec.*"
],
"scripts": {
"build": "vite build && npm run package",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"dev": "vite dev",
"format": "prettier --write .",
"lint": "prettier --check . && eslint .",
"package": "svelte-kit sync && svelte-package && publint",
"prepublishOnly": "npm run package",
"preview": "vite preview",
"test": "npm run test:integration && npm run test:unit",
"test:integration": "playwright test",
"test:unit": "vitest"
},
"dependencies": {
"acorn": "^8.11.3",
"esrap": "^1.2.1",
"zimmerframe": "^1.1.2"
},
"devDependencies": {
"@playwright/test": "^1.42.1",
"@sveltejs/adapter-auto": "^3.1.1",
"@sveltejs/kit": "^2.5.3",
"@sveltejs/package": "^2.3.0",
"@sveltejs/vite-plugin-svelte": "^3.0.2",
"@types/eslint": "8.56.6",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte": "^2.35.1",
"prettier": "^3.2.5",
"prettier-plugin-svelte": "^3.2.2",
"publint": "^0.2.7",
"release-plan": "^0.9.0",
"svelte": "^4.2.12",
"svelte-check": "^3.6.6",
"tslib": "^2.6.2",
"typescript": "^5.4.2",
"vite": "^5.1.5",
"vitest": "^1.3.1"
},
"peerDependencies": {
"svelte": "^4.0.0"
}
"name": "svelte-concurrency",
"version": "0.1.0",
"repository": {
"type": "git",
"url": "[email protected]:mainmatter/svelte-concurrency.git"
},
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./task": {
"types": "./dist/task.d.ts",
"import": "./dist/task.js"
},
"./vite": {
"types": "./dist/vite.d.ts",
"import": "./dist/vite.js"
}
},
"svelte": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist",
"!dist/**/*.test.*",
"!dist/**/*.spec.*"
],
"scripts": {
"build": "vite build && npm run package",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"dev": "vite dev",
"format": "prettier --write .",
"lint": "prettier --check . && eslint .",
"package": "svelte-kit sync && svelte-package && publint",
"prepublishOnly": "npm run package",
"preview": "vite preview",
"test": "npm run test:integration && npm run test:unit",
"test:integration": "playwright test",
"test:unit": "vitest"
},
"dependencies": {
"acorn": "^8.11.3",
"esrap": "^1.2.1",
"zimmerframe": "^1.1.2"
},
"devDependencies": {
"@playwright/test": "^1.42.1",
"@sveltejs/adapter-auto": "^3.1.1",
"@sveltejs/kit": "^2.5.3",
"@sveltejs/package": "^2.3.0",
"@sveltejs/vite-plugin-svelte": "^3.0.2",
"@types/eslint": "8.56.6",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte": "^2.35.1",
"prettier": "^3.2.5",
"prettier-plugin-svelte": "^3.2.2",
"publint": "^0.2.7",
"release-plan": "^0.9.0",
"svelte": "^4.2.12",
"svelte-check": "^3.6.6",
"tslib": "^2.6.2",
"typescript": "^5.4.2",
"vite": "^5.1.5",
"vitest": "^1.3.1"
},
"peerDependencies": {
"svelte": "^4.0.0"
}
}

0 comments on commit 8d9c20e

Please sign in to comment.