Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit c3d9720

Browse files
committedAug 7, 2022
Merge branch 'main' into drag_offset
2 parents 9a25bf8 + d8ad8f4 commit c3d9720

File tree

401 files changed

+24712
-28482
lines changed

Some content is hidden

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

401 files changed

+24712
-28482
lines changed
 

‎.eslintignore

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
examples/
2+
node_modules
3+
review
4+
**/build
5+
**/dist
6+
**/lib
7+
**/node_modules
8+
**/static
9+
**/typings
10+
**/types
11+
coverage
12+
*.map.js
13+
*.bundle.js
14+
*.config.js
15+
.eslintrc.js
16+
17+
# jetbrains IDE stuff
18+
.idea/
19+
20+
# ms IDE stuff
21+
.history/
22+
.vscode/

‎.eslintrc.js

+65
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
module.exports = {
2+
env: {
3+
browser: true,
4+
es6: true,
5+
commonjs: true,
6+
node: true
7+
},
8+
globals: {
9+
context: 'readonly',
10+
describe: 'readonly',
11+
it: 'readonly',
12+
before: 'readonly',
13+
after: 'readonly',
14+
beforeAll: 'readonly',
15+
afterAll: 'readonly',
16+
beforeEach: 'readonly',
17+
afterEach: 'readonly'
18+
},
19+
root: true,
20+
extends: [
21+
'eslint:recommended',
22+
'plugin:@typescript-eslint/recommended',
23+
'prettier'
24+
],
25+
parser: '@typescript-eslint/parser',
26+
parserOptions: {
27+
ecmaVersion: 'ES6',
28+
project: ['./tsconfigbase.json']
29+
},
30+
plugins: ['@typescript-eslint'],
31+
rules: {
32+
'@typescript-eslint/no-unused-vars': ['warn', { args: 'none' }],
33+
'@typescript-eslint/no-use-before-define': 'off',
34+
'@typescript-eslint/no-explicit-any': 'off',
35+
'@typescript-eslint/no-non-null-assertion': 'off',
36+
'@typescript-eslint/no-namespace': 'off',
37+
'@typescript-eslint/interface-name-prefix': 'off',
38+
'@typescript-eslint/explicit-function-return-type': 'off',
39+
'@typescript-eslint/ban-ts-comment': ['warn', { 'ts-ignore': true }],
40+
'@typescript-eslint/ban-types': 'warn',
41+
'@typescript-eslint/no-non-null-asserted-optional-chain': 'warn',
42+
'@typescript-eslint/no-var-requires': 'off',
43+
'@typescript-eslint/no-empty-interface': 'off',
44+
'@typescript-eslint/triple-slash-reference': 'warn',
45+
'@typescript-eslint/no-inferrable-types': 'off',
46+
camelcase: 'warn',
47+
'no-inner-declarations': 'off',
48+
'no-prototype-builtins': 'off',
49+
'no-control-regex': 'warn',
50+
'no-undef': 'off',
51+
'no-case-declarations': 'warn',
52+
'no-useless-escape': 'off',
53+
'prefer-const': 'off',
54+
'sort-imports': [
55+
'error',
56+
{
57+
ignoreCase: true,
58+
ignoreDeclarationSort: true,
59+
ignoreMemberSort: false,
60+
memberSyntaxSortOrder: ['none', 'all', 'multiple', 'single'],
61+
allowSeparatedGroups: false
62+
}
63+
]
64+
}
65+
};

0 commit comments

Comments
 (0)
Please sign in to comment.