Skip to content

Commit aa5b1de

Browse files
authored
V3 dev (AstroDraw#46)
* move bundling infra to webpack. * add typescript * add Jest. migrate utils test * add tslint * remove grunt. bump version * added eslint. * export AspectCalculator.
1 parent 6e00b4e commit aa5b1de

Some content is hidden

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

105 files changed

+18662
-10498
lines changed

.eslintignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node_modules
2+
dist
3+
*.test.ts

.eslintrc.js

+67
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
module.exports = {
2+
'env': {
3+
'browser': true,
4+
'commonjs': true,
5+
'es6': true
6+
},
7+
'extends': [
8+
'eslint:recommended',
9+
'plugin:@typescript-eslint/eslint-recommended'
10+
],
11+
'globals': {
12+
'Atomics': 'readonly',
13+
'SharedArrayBuffer': 'readonly'
14+
},
15+
'parser': '@typescript-eslint/parser',
16+
'parserOptions': {
17+
'sourceType': 'module',
18+
'ecmaVersion': 2018
19+
},
20+
'plugins': [
21+
'@typescript-eslint'
22+
],
23+
'rules': {
24+
'indent': [
25+
'error',
26+
2,
27+
{ 'SwitchCase': 1 }
28+
],
29+
'linebreak-style': [
30+
'error',
31+
'unix'
32+
],
33+
'quotes': [
34+
'error',
35+
'single',
36+
{ 'allowTemplateLiterals': true }
37+
],
38+
'semi': [
39+
'error',
40+
'never'
41+
],
42+
'no-var': ['error'],
43+
'@typescript-eslint/member-delimiter-style': [
44+
'error',
45+
{
46+
'multiline': {
47+
'delimiter': 'none',
48+
'requireLast': true
49+
},
50+
'singleline': {
51+
'delimiter': 'semi',
52+
'requireLast': false
53+
}
54+
}
55+
],
56+
'@typescript-eslint/explicit-function-return-type': 'off',
57+
'@typescript-eslint/no-unused-vars': ['warn', { 'vars': 'all', 'args': 'after-used', 'ignoreRestSiblings': false }],
58+
'no-unused-vars': 'off',
59+
'@typescript-eslint/restrict-plus-operands': 'off',
60+
//'@typescript-eslint/no-unused-vars': 'off',
61+
'@typescript-eslint/prefer-optional-chain': 'off',
62+
'@typescript-eslint/naming-convention': 'off',
63+
'@typescript-eslint/strict-boolean-expressions': 'off',
64+
'@typescript-eslint/prefer-nullish-coalescing': 'off',
65+
'no-prototype-builtins': 'off'
66+
},
67+
}

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@
33
.project
44
.DS_Store
55
build/
6+
coverage/
67

78

assets/1973515_orig.jpg

-187 KB
Binary file not shown.

assets/Aquarius.svg

-60
This file was deleted.

assets/Aries.svg

-59
This file was deleted.

0 commit comments

Comments
 (0)