Skip to content

Commit 98536ba

Browse files
committed
chore: adding OAuth2 library
Signed-off-by: Pawel Psztyc <jarrodek@gmail.com>
0 parents  commit 98536ba

Some content is hidden

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

47 files changed

+18487
-0
lines changed

.eslintignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
coverage/
2+
_site/
3+
dist/

.eslintrc.js

Lines changed: 134 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,134 @@
1+
/* eslint-disable import/no-commonjs */
2+
module.exports = {
3+
extends: [
4+
'eslint:recommended',
5+
require.resolve('eslint-config-google'),
6+
],
7+
parserOptions: {
8+
sourceType: 'module',
9+
ecmaVersion: 2021,
10+
requireConfigFile: false,
11+
},
12+
env: {
13+
browser: false,
14+
mocha: true,
15+
node: true,
16+
es2021: true,
17+
},
18+
extends: [
19+
'eslint-config-prettier'
20+
],
21+
plugins: [
22+
'@babel',
23+
'no-only-tests',
24+
'import',
25+
],
26+
parser: '@babel/eslint-parser',
27+
rules: {
28+
'arrow-parens': [
29+
'error',
30+
'always',
31+
{
32+
'requireForBlockBody': true,
33+
},
34+
],
35+
'lines-between-class-members': 'error',
36+
'no-underscore-dangle': 'off',
37+
'import/no-namespace': 'off',
38+
'no-only-tests/no-only-tests': 'error',
39+
'import/extensions': [
40+
'error',
41+
'always',
42+
{
43+
ignorePackages: true,
44+
},
45+
],
46+
'import/prefer-default-export': 'off',
47+
'import/no-nodejs-modules': 'off',
48+
'import/no-extraneous-dependencies': [
49+
'error',
50+
{
51+
'devDependencies': [
52+
'**/test/**/*.js',
53+
'**/*.config.js',
54+
'**/*.conf.js',
55+
],
56+
},
57+
],
58+
'class-methods-use-this': [
59+
// this is unnecessary for node apps.
60+
'off',
61+
{
62+
'exceptMethods': [],
63+
},
64+
],
65+
'no-undef': 'error',
66+
'require-jsdoc': ['warn', {
67+
require: {
68+
FunctionDeclaration: true,
69+
MethodDefinition: true,
70+
ClassDeclaration: true,
71+
ArrowFunctionExpression: true,
72+
FunctionExpression: true,
73+
},
74+
}],
75+
'comma-dangle': 'off',
76+
'new-cap': [
77+
'error',
78+
{
79+
properties: false,
80+
capIsNew: false,
81+
},
82+
],
83+
'max-len': 'off',
84+
'object-curly-spacing': [
85+
'error',
86+
'always',
87+
],
88+
'no-console': [
89+
'error',
90+
],
91+
'no-unused-expressions': 'error',
92+
'prefer-template': 'error',
93+
'no-return-await': 'error',
94+
'no-template-curly-in-string': 'error',
95+
'indent': [
96+
'error',
97+
2,
98+
{
99+
SwitchCase: 1,
100+
VariableDeclarator: 1,
101+
outerIIFEBody: 0,
102+
MemberExpression: 0,
103+
},
104+
],
105+
'no-shadow': [
106+
'error',
107+
{
108+
builtinGlobals: true,
109+
},
110+
],
111+
},
112+
113+
overrides: [
114+
{
115+
files: [
116+
'renderer/**/*.js',
117+
],
118+
env: {
119+
browser: true,
120+
},
121+
},
122+
{
123+
files: [
124+
'test/**/*.js',
125+
'test/**/*.mjs',
126+
],
127+
rules: {
128+
'import/no-commonjs': 'off',
129+
'require-jsdoc': 'off',
130+
'import/no-extraneous-dependencies': 'off',
131+
},
132+
},
133+
],
134+
};

.gitignore

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# General
2+
.DS_Store
3+
.AppleDouble
4+
.LSOverride
5+
6+
# Icon must end with two \r
7+
Icon
8+
9+
10+
# Thumbnails
11+
._*
12+
13+
# Windows thumbnail cache files
14+
Thumbs.db
15+
ehthumbs.db
16+
ehthumbs_vista.db
17+
18+
# Dump file
19+
*.stackdump
20+
21+
# Folder config file
22+
[Dd]esktop.ini
23+
24+
# Recycle Bin used on file shares
25+
$RECYCLE.BIN/
26+
27+
# Windows Installer files
28+
*.cab
29+
*.msi
30+
*.msix
31+
*.msm
32+
*.msp
33+
34+
# Windows shortcuts
35+
*.lnk
36+
37+
.vscode/*
38+
!.vscode/settings.json
39+
!.vscode/tasks.json
40+
!.vscode/launch.json
41+
!.vscode/extensions.json
42+
43+
*~
44+
45+
# temporary files which can be created if a process still has a handle open of a deleted file
46+
.fuse_hidden*
47+
48+
# KDE directory preferences
49+
.directory
50+
51+
# Linux trash folder which might appear on any partition or disk
52+
.Trash-*
53+
54+
# .nfs files are created when an open file is removed but is still being accessed
55+
.nfs*
56+
57+
node_modules
58+
build
59+
dist

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Advanced REST Client Electron bindings
2+
3+
This repository contains application logic that is required by ARC electron.
4+
5+
## Usage
6+
7+
```sh
8+
npm i @advanced-rest-client/electron
9+
```
10+
11+
## Docs
12+
13+
See the `docs/` folder for a package specific documentation.

commitlint.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/* eslint-disable import/no-commonjs */
2+
module.exports = {
3+
extends: ['@commitlint/config-conventional'],
4+
};

0 commit comments

Comments
 (0)