forked from microsoftgraph/msgraph-sdk-javascript
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. Added Linter 2. Added Prettier 3. Added pre-commit hook to run test, prettier and linter 4. Added badges like code style, downloads and license
- Loading branch information
1 parent
ada88f7
commit 143a5e0
Showing
119 changed files
with
11,047 additions
and
10,297 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,25 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
title: "" | ||
labels: "" | ||
assignees: "" | ||
--- | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
# Feature Request | ||
|
||
## Is your feature request related to a problem? Please describe | ||
|
||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
**Describe the solution you'd like** | ||
## Describe the solution you'd like | ||
|
||
A clear and concise description of what you want to happen. | ||
|
||
**Describe alternatives you've considered** | ||
## Describe alternatives you've considered | ||
|
||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
**Additional context** | ||
## Additional context | ||
|
||
Add any other context or screenshots about the feature request here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"hooks": { | ||
"pre-commit": "npm run lint && npm run format && npm run build && npm run test" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"esnext": "true" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
lib/ | ||
|
||
src/**/*.js | ||
src/**/*.js.map | ||
src/**/*.d.ts | ||
|
||
spec/**/*.js | ||
spec/**/*.js.map | ||
spec/**/*.d.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"arrowParens": "always", | ||
"bracketSpacing": true, | ||
"jsxBracketSameLine": true, | ||
"jsxSingleQuote": false, | ||
"printWidth": 5000, | ||
"proseWrap": "never", | ||
"semi": true, | ||
"singleQuote": false, | ||
"tabWidth": 4, | ||
"trailingComma": "all", | ||
"useTabs": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,61 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "Run node samples", | ||
"program": "${workspaceRoot}/samples/node/main.js", | ||
"cwd": "${workspaceRoot}", | ||
"outFiles": [], | ||
"internalConsoleOptions": "openOnSessionStart" | ||
}, | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "Run core tests", | ||
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha", | ||
"args": [ | ||
"${workspaceRoot}/lib/spec/core/*.js" | ||
], | ||
"cwd": "${workspaceRoot}", | ||
"preLaunchTask": "Run Build", | ||
"outFiles": [], | ||
"internalConsoleOptions": "openOnSessionStart" | ||
}, | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "Run workload tests", | ||
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha", | ||
"args": [ | ||
"${workspaceRoot}/spec/development/workload/*.js" | ||
], | ||
"cwd": "${workspaceRoot}", | ||
"preLaunchTask": "Run Build", | ||
"outFiles": [], | ||
"internalConsoleOptions": "openOnSessionStart" | ||
}, | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "Run middleware tests", | ||
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha", | ||
"args": [ | ||
"${workspaceRoot}/spec/middleware/*.js" | ||
], | ||
"cwd": "${workspaceRoot}", | ||
"preLaunchTask": "Run Build", | ||
"outFiles": [], | ||
"internalConsoleOptions": "openOnSessionStart" | ||
} | ||
] | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "Run node samples", | ||
"program": "${workspaceRoot}/samples/node/main.js", | ||
"cwd": "${workspaceRoot}", | ||
"outFiles": [], | ||
"internalConsoleOptions": "openOnSessionStart" | ||
}, | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "Run core tests", | ||
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha", | ||
"args": ["${workspaceRoot}/lib/spec/core/*.js"], | ||
"cwd": "${workspaceRoot}", | ||
"preLaunchTask": "Run Build", | ||
"outFiles": [], | ||
"internalConsoleOptions": "openOnSessionStart" | ||
}, | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "Run workload tests", | ||
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha", | ||
"args": ["${workspaceRoot}/spec/development/workload/*.js"], | ||
"cwd": "${workspaceRoot}", | ||
"preLaunchTask": "Run Build", | ||
"outFiles": [], | ||
"internalConsoleOptions": "openOnSessionStart" | ||
}, | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "Run middleware tests", | ||
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha", | ||
"args": ["${workspaceRoot}/lib/spec/middleware/*.js"], | ||
"cwd": "${workspaceRoot}", | ||
"preLaunchTask": "Run Build", | ||
"outFiles": [], | ||
"internalConsoleOptions": "openOnSessionStart" | ||
}, | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "Run Content tests", | ||
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha", | ||
"args": ["${workspaceRoot}/lib/spec/content/*.js"], | ||
"cwd": "${workspaceRoot}", | ||
"preLaunchTask": "Run Build", | ||
"outFiles": [], | ||
"internalConsoleOptions": "openOnSessionStart" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
{ | ||
// See https://go.microsoft.com/fwlink/?LinkId=733558 | ||
// for the documentation about the tasks.json format | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "Run Build", | ||
"type": "npm", | ||
"script": "build", | ||
"group": "build" | ||
} | ||
] | ||
} | ||
// See https://go.microsoft.com/fwlink/?LinkId=733558 | ||
// for the documentation about the tasks.json format | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "Run Build", | ||
"type": "npm", | ||
"script": "build", | ||
"group": "build" | ||
} | ||
] | ||
} |
Oops, something went wrong.