-
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move source to folder & Replace standardx with eslint & Update .npmig…
…nore (#321) * Move all source code files to a new `src` folder to improve structure of the repo. * Replace `standardx` linter with `eslint` using the standard rules. This allows more flexibility and works around the fact, that `standardx` seems outdated regarding our eslint version. * Update .npmignore to exclude more development related files and therefore decrease package size by a few kilobytes. --------- Signed-off-by: Florian Hotze <[email protected]>
- Loading branch information
1 parent
903599f
commit 384f5fe
Showing
67 changed files
with
2,501 additions
and
2,601 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
module.exports = { | ||
extends: 'eslint-config-standard', | ||
rules: { | ||
semi: ["error", "always"], | ||
"no-extra-semi": "error", | ||
"func-style": ["error", "declaration", { "allowArrowFunctions": true }] | ||
}, | ||
globals: { | ||
Java: "readonly" | ||
}, | ||
parserOptions: { | ||
ecmaVersion: 2022 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.