Skip to content
This repository was archived by the owner on Jun 23, 2023. It is now read-only.

Commit 95dc34e

Browse files
committed
linting, using npm instead of yarn and fix bug
1 parent c26919f commit 95dc34e

28 files changed

+7724
-5774
lines changed

.babelrc

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
{
2-
"exclude": ["node_modules/**", "bundles/**", "performance/**", "logo/**", "examples/**"],
3-
"presets": [
4-
[
5-
"@babel/preset-env",
6-
{
7-
"modules": false,
8-
"shippedProposals": true
9-
}
10-
]
11-
],
12-
"plugins": [
13-
"@babel/plugin-proposal-class-properties"
14-
]
15-
}
2+
"exclude": ["node_modules/**", "bundled/**", "performance/**", "logo/**", "examples/**"],
3+
"presets": [
4+
[
5+
"@babel/preset-env",
6+
{
7+
"modules": false,
8+
"shippedProposals": true
9+
}
10+
]
11+
],
12+
"plugins": ["@babel/plugin-proposal-class-properties"]
13+
}

.eslintignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# /node_modules/* and /bower_components/* in the project root are ignored by default
22

3-
# Ignore
3+
# Ignore
4+
.github/*
45
bundled/*
56
examples/*
67
performance/*
7-
logo/*
8+
logo/*

.eslintrc.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,12 @@
66
},
77
"extends": "standard",
88
"globals": {
9-
"Atomics": "readable",
10-
"SharedArrayBuffer": "readable"
9+
"Atomics": "readonly",
10+
"SharedArrayBuffer": "readonly"
1111
},
1212
"parserOptions": {
1313
"ecmaVersion": 2018,
1414
"sourceType": "module"
1515
},
16-
"rules": {
17-
}
18-
}
16+
"rules": {}
17+
}

.huskyrc

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

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
.gitignore
22
.git
3+
.github
34
bower.json
45
tsconfig.json
56
tslint.json

.prettierrc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"singleQuote": true,
3+
"printWidth": 120,
4+
"trailingComma": "es5",
5+
"arrowParens": "always",
6+
"bracketSpacing": true
7+
}

.vscode/settings.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2-
"eslint.enable": true,
3-
"prettier.requireConfig": false
2+
"eslint.enable": true,
3+
"eslint.packageManager": "npm",
4+
"prettier.requireConfig": true
45
}

0 commit comments

Comments
 (0)