forked from dhiway/cord.js
-
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.
- Loading branch information
0 parents
commit 27c22d4
Showing
141 changed files
with
21,778 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/node_modules | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
/.npmrc | ||
|
||
# testing | ||
/coverage | ||
/src/coverage | ||
|
||
# production | ||
/build | ||
|
||
# tooling setup | ||
.DS_Store | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
settings.json | ||
|
||
# doc | ||
docs/ | ||
|
||
# misc | ||
/.idea |
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,6 @@ | ||
__mocks__ | ||
dist | ||
lib | ||
jest.* | ||
coverage | ||
*.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,11 @@ | ||
{ | ||
"rules": { | ||
"semi": ["error", "always"], | ||
"prettier/prettier": ["warn", { | ||
"semi": true | ||
}], | ||
"@typescript-eslint/no-unused-vars": "off", | ||
"license-header/header": "off", | ||
"no-use-before-define": "off" | ||
} | ||
} |
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,117 @@ | ||
/* eslint-disable license-header/header */ | ||
module.exports = { | ||
env: { | ||
browser: true, | ||
es6: true, | ||
node: true, | ||
}, | ||
extends: [ | ||
'airbnb-base', | ||
'plugin:@typescript-eslint/recommended', | ||
'prettier', | ||
'prettier/@typescript-eslint', | ||
'plugin:jsdoc/recommended', | ||
], | ||
globals: { | ||
Atomics: 'readonly', | ||
SharedArrayBuffer: 'readonly', | ||
}, | ||
parser: '@typescript-eslint/parser', | ||
parserOptions: { | ||
ecmaVersion: 2018, | ||
sourceType: 'module', | ||
}, | ||
plugins: ['@typescript-eslint', 'prettier', 'jsdoc', 'license-header'], | ||
rules: { | ||
'import/no-cycle': 2, | ||
'import/extensions': [ | ||
'error', | ||
'ignorePackages', | ||
{ | ||
js: 'never', | ||
jsx: 'never', | ||
ts: 'never', | ||
tsx: 'never', | ||
}, | ||
], | ||
// Taken care of by typescript | ||
'import/no-unresolved': 'off', | ||
'prettier/prettier': 'error', | ||
semi: ['error', 'never'], | ||
'lines-between-class-members': [ | ||
'error', | ||
'always', | ||
{ exceptAfterSingleLine: true }, | ||
], | ||
'@typescript-eslint/explicit-function-return-type': [ | ||
'warn', | ||
{ | ||
allowExpressions: true, | ||
}, | ||
], | ||
'@typescript-eslint/prefer-interface': 'off', | ||
'@typescript-eslint/array-type': [ | ||
'error', | ||
{ | ||
default: 'array-simple', | ||
}, | ||
], | ||
'@typescript-eslint/ban-ts-comment': 'warn', | ||
'jsdoc/require-description': 'warn', | ||
'jsdoc/require-description-complete-sentence': 'warn', | ||
'jsdoc/no-types': 'warn', | ||
'jsdoc/require-param-type': 'off', | ||
'jsdoc/require-returns-type': 'off', | ||
'jsdoc/require-jsdoc': 'off', | ||
'jsdoc/check-examples': [ | ||
'warn', | ||
{ | ||
exampleCodeRegex: | ||
'^```(?:js|javascript|typescript)\\n([\\s\\S]*)```\\s*$', | ||
configFile: '.eslintrc-jsdoc.json', | ||
}, | ||
], | ||
'jsdoc/check-tag-names': [ | ||
'warn', | ||
{ | ||
definedTags: ['preferred', 'packageDocumentation'], | ||
}, | ||
], | ||
'jsdoc/check-alignment': 'off', | ||
'license-header/header': ['error', './license-header.js'], | ||
'import/prefer-default-export': 'off', | ||
'import/no-default-export': 'error', | ||
'@typescript-eslint/no-explicit-any': 'off', | ||
'no-shadow': 'off', | ||
'@typescript-eslint/no-shadow': 'error', | ||
}, | ||
overrides: [ | ||
{ | ||
files: ['**/*.spec.ts', '**/*.spec.ts'], | ||
env: { | ||
jest: true, | ||
}, | ||
rules: { | ||
'@typescript-eslint/no-object-literal-type-assertion': 'off', | ||
'no-underscore-dangle': 'off', | ||
'global-require': 'off', | ||
'jsdoc/check-tag-names': [ | ||
'warn', | ||
{ | ||
definedTags: ['group', 'packageDocumentation'], | ||
}, | ||
], | ||
'@typescript-eslint/no-var-requires': 'off', | ||
'@typescript-eslint/no-non-null-assertion': 'off', | ||
'@typescript-eslint/explicit-function-return-type': 'off', | ||
}, | ||
}, | ||
], | ||
settings: { | ||
'import/resolver': { | ||
node: { | ||
extensions: ['.js', '.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,40 @@ | ||
# See https://help.github.com/ignore-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
node_modules | ||
|
||
# npm/yarn | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
.yarn/* | ||
!.yarn/releases | ||
!.yarn/plugins | ||
!.yarn/sdks | ||
.yarn/versions | ||
.pnp.* | ||
|
||
|
||
# testing | ||
coverage | ||
|
||
# production | ||
build | ||
lib | ||
|
||
# tooling setup | ||
.DS_Store | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
settings.json | ||
|
||
# doc | ||
**/docs/api | ||
|
||
# misc | ||
/.idea | ||
|
||
# doc | ||
/docs/api |
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 @@ | ||
//registry.npmjs.org/:_authToken=${NPM_TOKEN} |
Empty file.
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,6 @@ | ||
jsonabc.js | ||
jsonabc.d.ts | ||
lib | ||
*.json | ||
jest.* | ||
coverage |
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 @@ | ||
{ | ||
"trailingComma": "es5", | ||
"semi": false, | ||
"singleQuote": true | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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,23 @@ | ||
enableColors: true | ||
|
||
enableInlineBuilds: true | ||
|
||
enableProgressBars: true | ||
|
||
nodeLinker: node-modules | ||
|
||
npmPublishAccess: public | ||
|
||
npmPublishRegistry: "https://registry.npmjs.org" | ||
|
||
plugins: | ||
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs | ||
spec: "@yarnpkg/plugin-interactive-tools" | ||
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs | ||
spec: "@yarnpkg/plugin-workspace-tools" | ||
- path: .yarn/plugins/@yarnpkg/plugin-version.cjs | ||
spec: "@yarnpkg/plugin-version" | ||
- path: .yarn/plugins/@ojkelly/plugin-build.cjs | ||
spec: "https://yarn.build/latest" | ||
|
||
yarnPath: .yarn/releases/yarn-3.0.2.cjs |
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,10 @@ | ||
FROM node:alpine | ||
|
||
WORKDIR /app | ||
|
||
COPY . ./ | ||
|
||
RUN yarn install | ||
RUN yarn build | ||
#RUN yarn lint | ||
#RUN yarn test |
Oops, something went wrong.