Skip to content

Commit ea33eab

Browse files
committed
Update: adding initial code and repo setup
1 parent f89076a commit ea33eab

File tree

11 files changed

+13729
-0
lines changed

11 files changed

+13729
-0
lines changed

.eslintrc.js

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
module.exports = {
2+
root: true,
3+
parser: '@typescript-eslint/parser',
4+
parserOptions: {
5+
project: ['./tsconfig.json']
6+
},
7+
plugins: ['@typescript-eslint'],
8+
extends: [
9+
'plugin:@typescript-eslint/eslint-recommended',
10+
'plugin:@typescript-eslint/recommended',
11+
'plugin:@typescript-eslint/recommended-requiring-type-checking',
12+
'prettier/@typescript-eslint'
13+
],
14+
rules: {
15+
'no-underscore-dangle': 'off',
16+
'max-len': ['error', { code: 150 }],
17+
'@typescript-eslint/ban-ts-ignore': 0,
18+
'class-methods-use-this': 0
19+
}
20+
};

.gitignore

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
node_modules
5+
/.pnp
6+
.pnp.js
7+
/.cache
8+
dist
9+
10+
# testing
11+
/coverage
12+
13+
# production
14+
/dist
15+
16+
# misc
17+
.DS_Store
18+
.env.local
19+
.env.development.local
20+
.env.test.local
21+
.env.production.local
22+
23+
npm-debug.log*
24+
yarn-debug.log*
25+
yarn-error.log*

.travis.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
language: node_js
2+
node_js:
3+
- lts/*
4+
- node
5+
6+
stages:
7+
- test
8+
- name: release
9+
if: branch = master && type != pull_request
10+
11+
jobs:
12+
include:
13+
- stage: release
14+
node_js: node
15+
script: skip
16+
deploy:
17+
provider: script
18+
skip_cleanup: true
19+
script: npx semantic-release

commitlint.config.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
module.exports = {
2+
extends: ['@commitlint/config-conventional'],
3+
rules: {
4+
'type-enum': [
5+
2,
6+
'always',
7+
['Fix', 'Update', 'Breaking', 'Docs', 'Build', 'New', 'Upgrade']
8+
],
9+
'type-case': [2, 'always', 'pascal-case']
10+
}
11+
};

0 commit comments

Comments
 (0)