Skip to content

Commit

Permalink
Endlines clear.
Browse files Browse the repository at this point in the history
  • Loading branch information
JanuszNowak committed Mar 11, 2023
1 parent bf2899c commit c138f64
Show file tree
Hide file tree
Showing 15 changed files with 337 additions and 250 deletions.
4 changes: 2 additions & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ root = true
indent_style = space
charset = utf-8
trim_trailing_whitespace = true
# end_of_line = lf
end_of_line = lf

[*.{cs,csx,vb,vbx}]
indent_size = 4
Expand Down Expand Up @@ -128,4 +128,4 @@ csharp_preserve_single_line_blocks = true
###############################
[*.vb]
# Modifier preferences
visual_basic_preferred_modifier_order = Partial,Default,Private,Protected,Public,Friend,NotOverridable,Overridable,MustOverride,Overloads,Overrides,MustInherit,NotInheritable,Static,Shared,Shadows,ReadOnly,WriteOnly,Dim,Const,WithEvents,Widening,Narrowing,Custom,Async:suggestion
visual_basic_preferred_modifier_order = Partial,Default,Private,Protected,Public,Friend,NotOverridable,Overridable,MustOverride,Overloads,Overrides,MustInherit,NotInheritable,Static,Shared,Shadows,ReadOnly,WriteOnly,Dim,Const,WithEvents,Widening,Narrowing,Custom,Async:suggestion
84 changes: 42 additions & 42 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,44 +1,44 @@
{
"env": {
"browser": true,
"es6": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": true
}
},
"plugins": [
"react"
],
"globals": {
"module": true,
"require": true,
"L": true,
"settings": true,
"define": true,
"Buffer": true,
"google" : true,
"describe": true,
"global": true,
"it":true,
"$":true
},
"rules": {
"indent": "off",
"linebreak-style": "off",
"quotes": "off",
"semi": "off",
"no-mixed-spaces-and-tabs" : "off",
"no-unused-vars" : "off",
"no-redeclare": "off",
"no-empty": "off",
"no-console":"off"
},
"overrides": [{
"files": [ "*.js", "*.jsx" ],
"excludedFiles": "*.min.js"
}]
"env": {
"browser": true,
"es6": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": true
}
},
"plugins": ["react"],
"globals": {
"module": true,
"require": true,
"L": true,
"settings": true,
"define": true,
"Buffer": true,
"google": true,
"describe": true,
"global": true,
"it": true,
"$": true
},
"rules": {
"indent": "off",
"linebreak-style": "off",
"quotes": "off",
"semi": "off",
"no-mixed-spaces-and-tabs": "off",
"no-unused-vars": "off",
"no-redeclare": "off",
"no-empty": "off",
"no-console": "off"
},
"overrides": [
{
"files": ["*.js", "*.jsx"],
"excludedFiles": "*.min.js"
}
]
}
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* text=auto eol=crlf
* text=auto eol=lf
18 changes: 9 additions & 9 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
- package-ecosystem: github-actions
directory: /
schedule:
interval: daily

# Maintain dependencies for npm
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"
# Maintain dependencies for npm
- package-ecosystem: npm
directory: /
schedule:
interval: daily
7 changes: 3 additions & 4 deletions .github/workflows/dependabot_hack.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
---
# See ../DEPENDENCIES.md#workaround-for-other-dependencies
name: Dependabot hack
on: # yamllint disable-line rule:truthy
push:
branches:
- never-trigger-this-dependabot-hack-workflow
- never-trigger-this-dependabot-hack-workflow
jobs:
dependabot_hack:
name: Ensure dependabot version checks
runs-on: "ubuntu-latest"
runs-on: ubuntu-latest
steps:
# Dockerfile:
- uses: pre-commit/pre-commit@v3.1.1
- uses: pre-commit/pre-commit@v3.1.1
1 change: 0 additions & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on: [push]

jobs:
build:

runs-on: ubuntu-latest

strategy:
Expand Down
38 changes: 19 additions & 19 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: Deploy static content to Pages
on:
# Runs on pushes targeting the default branch
push:
branches: ["master"]
branches: [master]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand All @@ -17,7 +17,7 @@ permissions:

# Allow one concurrent deployment
concurrency:
group: "pages"
group: pages
cancel-in-progress: true

jobs:
Expand All @@ -28,21 +28,21 @@ jobs:
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
- name: npm install, build, and test
run: |
npm install
npm run build
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
- name: npm install, build, and test
run: |
npm install
npm run build
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
# Upload entire repository
path: '.'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
path: .
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
46 changes: 28 additions & 18 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,29 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
hooks:
- id: check-json
- id: check-yaml
- id: check-xml
- id: check-executables-have-shebangs
- id: check-merge-conflict
- id: trailing-whitespace
args: ["--markdown-linebreak-ext=md"]
- id: requirements-txt-fixer
# - id: mixed-line-ending
# args: ["--fix=crlf"]
# description: Forces to replace line ending by the 'crlf' character.
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
rev: 2.4.0
hooks:
- id: editorconfig-checker
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-json
- id: check-yaml
- id: check-xml
- id: check-executables-have-shebangs
- id: check-merge-conflict
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
- id: requirements-txt-fixer
- id: mixed-line-ending
args: [--fix=lf]
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
rev: 2.7.1
hooks:
- id: editorconfig-checker
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
rev: v2.7.0
hooks:
- id: pretty-format-yaml
args: [--autofix, --indent, '2']
- repo: https://github.com/sirosen/check-jsonschema
rev: 0.22.0
hooks:
- id: check-github-workflows
- id: check-github-actions
- id: check-azure-pipelines
24 changes: 12 additions & 12 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"editor.formatOnPaste": true,
"editor.formatOnSave": true,
"eslint.format.enable": true,
"eslint.lintTask.enable": true,
"[typescript]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
},
"yaml.schemas": {
"https://json.schemastore.org/github-workflow.json": "/.github/workflows/*.yml"
},
"cSpell.words": ["pwsh"]
}
"editor.formatOnPaste": true,
"editor.formatOnSave": true,
"eslint.format.enable": true,
"eslint.lintTask.enable": true,
"[typescript]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
},
"yaml.schemas": {
"https://json.schemastore.org/github-workflow.json": "/.github/workflows/*.yml"
},
"cSpell.words": ["pwsh"]
}
2 changes: 1 addition & 1 deletion GithubAzureDevOpsSpeedTest.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
}
],
"settings": {}
}
}
Loading

0 comments on commit c138f64

Please sign in to comment.