Skip to content

Commit

Permalink
Remove gts dependency (#504)
Browse files Browse the repository at this point in the history
  • Loading branch information
whscullin committed Aug 29, 2024
1 parent 2e78b50 commit 1c51fed
Show file tree
Hide file tree
Showing 7 changed files with 43 additions and 977 deletions.
17 changes: 11 additions & 6 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
{
"extends": ["./node_modules/gts/", "plugin:lit/recommended"],
"ignorePatterns": [
"*.d.ts",
"node_modules/",
"packages/malloy/src/lang/lib/Malloy",
"dist/"
"plugins": ["@typescript-eslint", "prettier"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:lit/recommended",
"prettier",
"plugin:prettier/recommended"
],
"ignorePatterns": ["*.d.ts", "node_modules/", "dist/"],
"rules": {
"consistent-return": "error",
"no-console": [
Expand Down Expand Up @@ -34,6 +37,8 @@
"error",
{"prefer": "no-type-imports"}
],
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-unused-vars": [
"error",
{"argsIgnorePattern": "^_", "varsIgnorePattern": "^_"}
Expand Down
6 changes: 5 additions & 1 deletion .prettierrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
module.exports = {
...require('gts/.prettierrc.json')
arrowParens: "avoid",
bracketSpacing: false,
semi: true,
singleQuote: true,
trailingComma: "es5",
}
Loading

0 comments on commit 1c51fed

Please sign in to comment.