From 0b8dc120473bbe95464d873d1c42d791f7714cfb Mon Sep 17 00:00:00 2001 From: di-sukharev Date: Mon, 22 May 2023 12:22:37 +0800 Subject: [PATCH] chore: update .eslintrc.json to disable import/order rule and enable simple-import-sort rules chore: update .prettierignore to include /out directory docs: update LICENSE file to include link to author's GitHub profile chore: update tsconfig.json to move resolveJsonModule above moduleResolution for consistency --- .eslintrc.json | 2 +- .prettierignore | 3 ++- LICENSE | 2 +- tsconfig.json | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index b0c6e32..aeb498b 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -21,8 +21,8 @@ "rules": { "prettier/prettier": "error", "no-console": "error", - "sort-imports": "off", "import/order": "off", + "sort-imports": "off", "simple-import-sort/imports": "error", "simple-import-sort/exports": "error", "import/first": "error", diff --git a/.prettierignore b/.prettierignore index aef7e14..31deda6 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,2 +1,3 @@ /build -/dist \ No newline at end of file +/dist +/out \ No newline at end of file diff --git a/LICENSE b/LICENSE index 3e442f1..6ddcaeb 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) Dima Sukharev +Copyright (c) Dima Sukharev, https://github.com/di-sukharev Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: diff --git a/tsconfig.json b/tsconfig.json index 6dedf1a..3998f29 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,8 +5,8 @@ "module": "ESNext", // "rootDir": "./src", - "moduleResolution": "node", "resolveJsonModule": true, + "moduleResolution": "node", "allowJs": true,