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

Commit

Permalink
linting, using npm instead of yarn and fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dalisoft committed May 8, 2019
1 parent c26919f commit 95dc34e
Show file tree
Hide file tree
Showing 28 changed files with 7,724 additions and 5,774 deletions.
26 changes: 12 additions & 14 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
{
"exclude": ["node_modules/**", "bundles/**", "performance/**", "logo/**", "examples/**"],
"presets": [
[
"@babel/preset-env",
{
"modules": false,
"shippedProposals": true
}
]
],
"plugins": [
"@babel/plugin-proposal-class-properties"
]
}
"exclude": ["node_modules/**", "bundled/**", "performance/**", "logo/**", "examples/**"],
"presets": [
[
"@babel/preset-env",
{
"modules": false,
"shippedProposals": true
}
]
],
"plugins": ["@babel/plugin-proposal-class-properties"]
}
5 changes: 3 additions & 2 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# /node_modules/* and /bower_components/* in the project root are ignored by default

# Ignore
# Ignore
.github/*
bundled/*
examples/*
performance/*
logo/*
logo/*
9 changes: 4 additions & 5 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,12 @@
},
"extends": "standard",
"globals": {
"Atomics": "readable",
"SharedArrayBuffer": "readable"
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"rules": {
}
}
"rules": {}
}
6 changes: 0 additions & 6 deletions .huskyrc

This file was deleted.

1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.gitignore
.git
.github
bower.json
tsconfig.json
tslint.json
Expand Down
7 changes: 7 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"singleQuote": true,
"printWidth": 120,
"trailingComma": "es5",
"arrowParens": "always",
"bracketSpacing": true
}
5 changes: 3 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"eslint.enable": true,
"prettier.requireConfig": false
"eslint.enable": true,
"eslint.packageManager": "npm",
"prettier.requireConfig": true
}
Loading

0 comments on commit 95dc34e

Please sign in to comment.