Skip to content

Commit

Permalink
refactor: continued refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
ovflowd committed Sep 27, 2023
1 parent 972c680 commit 3897075
Show file tree
Hide file tree
Showing 19 changed files with 573 additions and 226 deletions.
4 changes: 3 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
src/content/compiled
node_modules/
dist/
src/templates/*.out.js
23 changes: 11 additions & 12 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"extends": ["eslint:recommended", "prettier"],
"env": { "es2022": true, "node": true },
"parserOptions": { "sourceType": "module" },
"overrides": [
{
"files": ["*.ts"],
"plugins": ["@typescript-eslint", "prettier"],
"files": ["scripts/*.js"],
"env": { "node": true }
},
{
"files": ["src/**/*.ts"],
"plugins": ["@typescript-eslint"],
"parser": "@typescript-eslint/parser",
"env": { "es2022": true },
"parserOptions": {
"sourceType": "module",
"project": "./tsconfig.json"
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
"plugin:@typescript-eslint/recommended"
],
"rules": {
"no-unused-vars": "off",
Expand All @@ -27,8 +27,7 @@
"ignoreRestSiblings": true
}
],
"@typescript-eslint/explicit-function-return-type": "error",
"prettier/prettier": "error"
"@typescript-eslint/explicit-function-return-type": "error"
}
}
]
Expand Down
5 changes: 2 additions & 3 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
package-lock.json
node_modules/
build/
src/content/compiled/
dist/
src/templates/*.out.js
Loading

0 comments on commit 3897075

Please sign in to comment.