Skip to content

Commit

Permalink
More lint cleanup and some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wycats committed Oct 4, 2023
1 parent 7a27fc8 commit dee0764
Show file tree
Hide file tree
Showing 104 changed files with 791 additions and 2,019 deletions.
4 changes: 4 additions & 0 deletions .scratch/todo.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
When running a query command, provide some progress indication as the commands
go by.

Invesitgate why `vitest` doesn't exist on import.meta.
28 changes: 6 additions & 22 deletions @types/@rollup/plugin-node-resolve/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,18 @@
{
"root": true,
"ignorePatterns": [
"node_modules",
"dist",
"html",
"tests"
],
"plugins": [
"@starbeam"
],
"ignorePatterns": ["node_modules", "dist", "html", "tests"],
"plugins": ["@starbeam"],
"overrides": [
{
"extends": [
"plugin:@starbeam/commonjs"
],
"files": [
"index.d.ts",
"src/**/*.d.ts"
],
"extends": ["plugin:@starbeam/commonjs"],
"files": ["index.d.ts", "src/**/*.d.ts"],
"parserOptions": {
"project": "tsconfig.json"
}
},
{
"extends": [
"plugin:@starbeam/json:recommended"
],
"files": [
"*.json"
]
"extends": ["plugin:@starbeam/json:recommended"],
"files": ["*.json"]
}
]
}
28 changes: 6 additions & 22 deletions @types/ansicolor/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,18 @@
{
"root": true,
"ignorePatterns": [
"node_modules",
"dist",
"html",
"tests"
],
"plugins": [
"@starbeam"
],
"ignorePatterns": ["node_modules", "dist", "html", "tests"],
"plugins": ["@starbeam"],
"overrides": [
{
"extends": [
"plugin:@starbeam/tight"
],
"files": [
"index.d.ts",
"src/**/*.d.ts"
],
"extends": ["plugin:@starbeam/tight"],
"files": ["index.d.ts", "src/**/*.d.ts"],
"parserOptions": {
"project": "tsconfig.json"
}
},
{
"extends": [
"plugin:@starbeam/json:recommended"
],
"files": [
"*.json"
]
"extends": ["plugin:@starbeam/json:recommended"],
"files": ["*.json"]
}
]
}
28 changes: 6 additions & 22 deletions @types/rollup-plugin-polyfill-node/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,18 @@
{
"root": true,
"ignorePatterns": [
"node_modules",
"dist",
"html",
"tests"
],
"plugins": [
"@starbeam"
],
"ignorePatterns": ["node_modules", "dist", "html", "tests"],
"plugins": ["@starbeam"],
"overrides": [
{
"extends": [
"plugin:@starbeam/commonjs"
],
"files": [
"index.d.ts",
"src/**/*.d.ts"
],
"extends": ["plugin:@starbeam/commonjs"],
"files": ["index.d.ts", "src/**/*.d.ts"],
"parserOptions": {
"project": "tsconfig.json"
}
},
{
"extends": [
"plugin:@starbeam/json:recommended"
],
"files": [
"*.json"
]
"extends": ["plugin:@starbeam/json:recommended"],
"files": ["*.json"]
}
]
}
28 changes: 6 additions & 22 deletions @types/shell-escape-tag/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,18 @@
{
"root": true,
"ignorePatterns": [
"node_modules",
"dist",
"html",
"tests"
],
"plugins": [
"@starbeam"
],
"ignorePatterns": ["node_modules", "dist", "html", "tests"],
"plugins": ["@starbeam"],
"overrides": [
{
"extends": [
"plugin:@starbeam/commonjs"
],
"files": [
"index.d.ts",
"src/**/*.d.ts"
],
"extends": ["plugin:@starbeam/commonjs"],
"files": ["index.d.ts", "src/**/*.d.ts"],
"parserOptions": {
"project": "tsconfig.json"
}
},
{
"extends": [
"plugin:@starbeam/json:recommended"
],
"files": [
"*.json"
]
"extends": ["plugin:@starbeam/json:recommended"],
"files": ["*.json"]
}
]
}
28 changes: 6 additions & 22 deletions @types/shell-split/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,18 @@
{
"root": true,
"ignorePatterns": [
"node_modules",
"dist",
"html",
"tests"
],
"plugins": [
"@starbeam"
],
"ignorePatterns": ["node_modules", "dist", "html", "tests"],
"plugins": ["@starbeam"],
"overrides": [
{
"extends": [
"plugin:@starbeam/commonjs"
],
"files": [
"index.d.ts",
"src/**/*.d.ts"
],
"extends": ["plugin:@starbeam/commonjs"],
"files": ["index.d.ts", "src/**/*.d.ts"],
"parserOptions": {
"project": "tsconfig.json"
}
},
{
"extends": [
"plugin:@starbeam/json:recommended"
],
"files": [
"*.json"
]
"extends": ["plugin:@starbeam/json:recommended"],
"files": ["*.json"]
}
]
}
36 changes: 8 additions & 28 deletions demos/preact-hello-world/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,45 +1,25 @@
{
"root": true,
"ignorePatterns": [
"node_modules",
"dist",
"html",
"tests"
],
"plugins": [
"@starbeam"
],
"ignorePatterns": ["node_modules", "dist", "html", "tests"],
"plugins": ["@starbeam"],
"overrides": [
{
"extends": [
"plugin:@starbeam/commonjs"
],
"files": [
"index.{tsx,ts}",
"src/**/*.{tsx,ts}"
],
"extends": ["plugin:@starbeam/commonjs"],
"files": ["index.{tsx,ts}", "src/**/*.{tsx,ts}"],
"parserOptions": {
"project": "tsconfig.json"
}
},
{
"extends": [
"plugin:@starbeam/loose"
],
"files": [
"vite.config.ts"
],
"extends": ["plugin:@starbeam/loose"],
"files": ["vite.config.ts"],
"parserOptions": {
"project": "tsconfig.json"
}
},
{
"extends": [
"plugin:@starbeam/json:recommended"
],
"files": [
"*.json"
]
"extends": ["plugin:@starbeam/json:recommended"],
"files": ["*.json"]
}
]
}
36 changes: 8 additions & 28 deletions demos/preact/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,45 +1,25 @@
{
"root": true,
"ignorePatterns": [
"node_modules",
"dist",
"html",
"tests"
],
"plugins": [
"@starbeam"
],
"ignorePatterns": ["node_modules", "dist", "html", "tests"],
"plugins": ["@starbeam"],
"overrides": [
{
"extends": [
"plugin:@starbeam/commonjs"
],
"files": [
"index.{tsx,ts}",
"src/**/*.{tsx,ts}"
],
"extends": ["plugin:@starbeam/commonjs"],
"files": ["index.{tsx,ts}", "src/**/*.{tsx,ts}"],
"parserOptions": {
"project": "tsconfig.json"
}
},
{
"extends": [
"plugin:@starbeam/loose"
],
"files": [
"vite.config.ts"
],
"extends": ["plugin:@starbeam/loose"],
"files": ["vite.config.ts"],
"parserOptions": {
"project": "tsconfig.json"
}
},
{
"extends": [
"plugin:@starbeam/json:recommended"
],
"files": [
"*.json"
]
"extends": ["plugin:@starbeam/json:recommended"],
"files": ["*.json"]
}
]
}
36 changes: 8 additions & 28 deletions demos/react-jsnation-workshop/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,45 +1,25 @@
{
"root": true,
"ignorePatterns": [
"node_modules",
"dist",
"html",
"tests"
],
"plugins": [
"@starbeam"
],
"ignorePatterns": ["node_modules", "dist", "html", "tests"],
"plugins": ["@starbeam"],
"overrides": [
{
"extends": [
"plugin:@starbeam/demos"
],
"files": [
"index.{tsx,ts}",
"src/**/*.{tsx,ts}"
],
"extends": ["plugin:@starbeam/demos"],
"files": ["index.{tsx,ts}", "src/**/*.{tsx,ts}"],
"parserOptions": {
"project": "tsconfig.json"
}
},
{
"extends": [
"plugin:@starbeam/loose"
],
"files": [
"vite.config.ts"
],
"extends": ["plugin:@starbeam/loose"],
"files": ["vite.config.ts"],
"parserOptions": {
"project": "tsconfig.json"
}
},
{
"extends": [
"plugin:@starbeam/json:recommended"
],
"files": [
"*.json"
]
"extends": ["plugin:@starbeam/json:recommended"],
"files": ["*.json"]
}
]
}
Loading

0 comments on commit dee0764

Please sign in to comment.