Skip to content

Commit

Permalink
🔧 configure linting
Browse files Browse the repository at this point in the history
  • Loading branch information
vhoyer committed Aug 18, 2022
1 parent 13be7a6 commit 327dc90
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
root = true

[*]
charset = utf-8
indent_size = 2
indent_style = space
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
trim_trailing_whitespace = false
9 changes: 9 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
module.exports = {
parserOptions: {
ecmaVersion: 8,
requireConfigFile: false,
},
extends: [
'@quero/typescript',
],
};
Binary file modified bun.lockb
Binary file not shown.
9 changes: 8 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
"module": "index.ts",
"type": "module",
"devDependencies": {
"bun-types": "^0.1.0"
"@quero/eslint-config-base": "^2.1.0",
"@quero/eslint-config-typescript": "^1.2.2",
"@typescript-eslint/eslint-plugin": "^5.33.1",
"@typescript-eslint/parser": "^5.33.1",
"bun-types": "^0.1.0",
"eslint": "^8.22.0",
"eslint-plugin-jest": "^26.8.3",
"typescript": "^4.7.4"
}
}

0 comments on commit 327dc90

Please sign in to comment.