Skip to content

Commit

Permalink
Merge pull request #47 from TNO/feature/prettier-rules-and-format
Browse files Browse the repository at this point in the history
Minor code improvements + new formatting
  • Loading branch information
NuukPrime authored Sep 20, 2023
2 parents 7b44bc5 + db225ed commit 4a6f2a7
Show file tree
Hide file tree
Showing 30 changed files with 5,200 additions and 3,960 deletions.
1 change: 1 addition & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ module.exports = {
root: true,
rules: {
"no-useless-escape": "off",
"no-mixed-spaces-and-tabs": ["error", "smart-tabs"],
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/naming-convention": [
"error",
Expand Down
10 changes: 1 addition & 9 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,4 @@ examples/
README.md
webpack.config.ts
tsconfig.json
src/extension
src/viewer/hooks/
src/viewer/rules/
src/viewer/minimap/
src/viewer/log/
src/viewer/App.tsx
src/viewer/index.tsx
src/viewer/LogFile.tsx
src/viewer/types.d.ts
src/extension
5 changes: 3 additions & 2 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"tabWidth": 4,
"useTabs": true
"tabWidth": 2,
"useTabs": true,
"printWidth": 100
}
Loading

0 comments on commit 4a6f2a7

Please sign in to comment.