Skip to content

Commit e9042d7

Browse files
committed
Merge branch 'develop' into code-copy-btn
2 parents cd58475 + 6824714 commit e9042d7

File tree

116 files changed

+11629
-12242
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

116 files changed

+11629
-12242
lines changed

.editorconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ end_of_line = lf
77
charset = utf-8
88
trim_trailing_whitespace = true
99
insert_final_newline = true
10+
max_line_length = 80
1011

1112
[*.{json,yml,yaml}]
1213
indent_size = 2

.eslintignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node_modules
2+
dist
3+
**/*.js

.eslintrc.js

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
module.exports = {
2+
root: true,
3+
parser: "@typescript-eslint/parser",
4+
parserOptions: {
5+
tsconfigRootDir: __dirname,
6+
project: ["./lib/tsconfig.json"],
7+
},
8+
plugins: ["@typescript-eslint"],
9+
extends: [
10+
"eslint:recommended",
11+
"plugin:@typescript-eslint/recommended",
12+
"plugin:@typescript-eslint/recommended-requiring-type-checking",
13+
"prettier",
14+
"plugin:no-unsanitized/DOM",
15+
],
16+
rules: {
17+
"no-console": "error",
18+
"no-alert": "error",
19+
"no-process-env": "error",
20+
},
21+
};

.prettierignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
*.md
2+
.vscode/
3+
dist/

.prettierrc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"tabWidth": 4,
3+
"semi": true,
4+
"singleQuote": false,
5+
"quoteProps": "consistent",
6+
"trailingComma": "es5",
7+
"printWidth": 80
8+
}

.stylelintrc

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
11
{
2-
"extends": "stylelint-config-recommended-less",
2+
"extends": "stylelint-config-recommended",
33
"customSyntax": "postcss-less",
4-
"plugins": [
5-
"stylelint-less"
6-
],
74
"rules": {
85
"at-rule-no-unknown": null,
9-
"less/color-no-invalid-hex": null,
10-
"less/no-duplicate-variables": null,
6+
"function-no-unknown": null,
117
"indentation": 4,
128
"max-empty-lines": 2,
139
"no-invalid-double-slash-comments": null,

.vscode/extensions.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"recommendations": [
3+
"dbaeumer.vscode-eslint",
4+
"esbenp.prettier-vscode",
5+
"stylelint.vscode-stylelint"
6+
]
7+
}

Gruntfile.js

Lines changed: 0 additions & 256 deletions
This file was deleted.

0 commit comments

Comments
 (0)