-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ESLint, Prettier & fix issue with CommenJS get loaded as ES Module (
#14) * Add ESLint, fix issue with load the lib.common.js as ES Module, just change the filetype to cjs * Add .yarn to be ignored from lint * Address ES module error issue * Bump up Bootstrap Icons to v1.11.3
- Loading branch information
1 parent
83afe84
commit a69b87f
Showing
27 changed files
with
355,505 additions
and
261,530 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 |
---|---|---|
@@ -1,12 +1,12 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false | ||
root = true | ||
|
||
[*] | ||
indent_size = 2 | ||
indent_style = space | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false |
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,20 @@ | ||
module.exports = { | ||
env: { | ||
browser: true, | ||
node: true, | ||
es6: true, | ||
amd: true, | ||
}, | ||
extends: [ | ||
"eslint:recommended", | ||
"plugin:prettier/recommended", | ||
"plugin:vue/vue3-recommended", | ||
], | ||
parser: "vue-eslint-parser", | ||
plugins: ["@typescript-eslint"], | ||
parserOptions: { | ||
parser: "@typescript-eslint/parser", | ||
}, | ||
ignorePatterns: ["node_modules/", "dist/", ".yarn/"], | ||
root: true, | ||
}; |
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,7 @@ | ||
node_modules | ||
*.log* | ||
.env | ||
dist | ||
.DS_Store | ||
.idea | ||
.yarn |
Oops, something went wrong.