Skip to content

Commit

Permalink
docs: updates on workflows
Browse files Browse the repository at this point in the history
Added information on documentation
  • Loading branch information
ADMSK\AVROGAL1 committed Feb 11, 2021
1 parent 2e3ff7c commit 70e7d23
Show file tree
Hide file tree
Showing 16 changed files with 591 additions and 154 deletions.
11 changes: 2 additions & 9 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,10 @@ insert_final_newline = true
trim_trailing_whitespace = true
max_line_length = 120

[*.java]
indent_size = 4
max_line_length = 100

[*.{kt, groovy}]
indent_size = 4
[*.js]
indent_size = 2
max_line_length = 100

[*.avsc]
indent_size = 4

[*.{yml, yaml}]
indent_size = 2

Expand Down
4 changes: 4 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
dist/
lib/
node_modules/
coverage/
47 changes: 47 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"ecmaFeatures": {
"experimentalObjectRestSpread": true
},
"sourceType": "script"
},
"extends": ["eslint:recommended", "prettier"],
"plugins": ["node", "import", "prettier"],
"env": {
"node": true,
"es6": true
},
"rules": {
"indent": ["error", 2],
"linebreak-style": ["error", "unix"],
"jsx-quotes": ["error", "prefer-double"],
"quotes": ["error", "single"],
"comma-dangle": ["error", "always-multiline"],
"no-case-declarations": "off",
"eqeqeq": "warn",
"quote-props": ["warn", "consistent-as-needed"],
"keyword-spacing": "error",
"eslint-comments/no-use": "off",
"import/no-namespace": "off",
"no-unused-vars": "off",
"camelcase": "off",
"semi": "off",
"no-console": "off",
"node/no-unsupported-features/node-builtins": "off",
"node/no-unsupported-features/es-syntax": [
"error",
{
"version": ">=10.13.0"
}
],
"node/no-unsupported-features/es-builtins": [
"error",
{
"version": ">=10.13.0"
}
],
"prettier/prettier": "error"
}
}
37 changes: 0 additions & 37 deletions .github/workflows/.verify-licenses.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm install
- run: npm test
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ bin/
tmp/
build/*
packages/
coverage/
target/
log/
site/
Expand Down
2 changes: 1 addition & 1 deletion .huskyrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"hooks": {
"pre-commit": "pretty-quick --staged && npm install && git add dist"
"pre-commit": "pretty-quick --staged && lint-staged"
}
}
4 changes: 4 additions & 0 deletions .lintstagedrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"*.js": "eslint --fix",
"*.{json,md}": "prettier --write"
}
Loading

0 comments on commit 70e7d23

Please sign in to comment.