Skip to content

Commit

Permalink
Merge pull request #2 from Muttley/develop
Browse files Browse the repository at this point in the history
Release Test
  • Loading branch information
Muttley authored Oct 29, 2023
2 parents c01abd3 + c71ab35 commit 1eb3d48
Show file tree
Hide file tree
Showing 248 changed files with 17,943 additions and 5,702 deletions.
8 changes: 8 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
root = true

[*]
charset = utf-8
end_of_line = lf
indent_style = tab
insert_final_newline = true
trim_trailing_whitespace = true
324 changes: 324 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,324 @@
{
"env": {
"browser": true,
"es2022": true,
"jquery": true,
"node": true
},
"ignorePatterns": [
"**/*compiled.mjs"
],
"parserOptions": {
"ecmaVersion": 2022,
"requireConfigFile": false,
"sourceType": "module"
},
"rules": {
"array-bracket-spacing": [
"warn",
"never"
],
"array-callback-return": "warn",
"arrow-parens": [
"warn",
"as-needed",
{
"requireForBlockBody": false
}
],
"arrow-spacing": "warn",
"brace-style": [
"error",
"stroustrup"
],
"capitalized-comments": "off",
"comma-dangle": [
"warn",
{
"arrays": "always-multiline",
"exports": "always-multiline",
"functions": "never",
"imports": "always-multiline",
"objects": "always-multiline"
}
],
"comma-spacing": "warn",
"comma-style": "warn",
"computed-property-spacing": "warn",
"constructor-super": "error",
"default-param-last": "warn",
"disallowTabs": 0,
"dot-location": [
"warn",
"property"
],
"dot-notation": "warn",
"eol-last": [
"error",
"always"
],
"eqeqeq": [
"warn",
"smart"
],
"func-call-spacing": "warn",
"func-names": [
"warn",
"never"
],
"getter-return": "warn",
"indent": [
"error",
"tab",
{
"SwitchCase": 1
}
],
"key-spacing": "warn",
"keyword-spacing": [
"warn",
{
"overrides": {
"catch": {
"after": false,
"before": true
}
}
}
],
"linebreak-style": [
"warn",
"unix"
],
"lines-between-class-members": "warn",
"max-len": [
"warn",
{
"code": 100,
"ignoreStrings": true,
"ignoreTemplateLiterals": true,
"ignoreTrailingComments": false,
"ignoreUrls": true
}
],
"new-parens": [
"warn",
"always"
],
"no-alert": "warn",
"no-array-constructor": "warn",
"no-class-assign": "warn",
"no-compare-neg-zero": "warn",
"no-cond-assign": "warn",
"no-const-assign": "error",
"no-constant-condition": "warn",
"no-constructor-return": "warn",
"no-delete-var": "warn",
"no-dupe-args": "warn",
"no-dupe-class-members": "warn",
"no-dupe-keys": "warn",
"no-duplicate-case": "warn",
"no-duplicate-imports": [
"warn",
{
"includeExports": true
}
],
"no-empty": [
"warn",
{
"allowEmptyCatch": true
}
],
"no-empty-character-class": "warn",
"no-empty-pattern": "warn",
"no-extra-boolean-cast": [
"warn",
{
"enforceForLogicalOperands": true
}
],
"no-extra-semi": "warn",
"no-func-assign": "warn",
"no-global-assign": "warn",
"no-implicit-coercion": [
"warn",
{
"allow": [
"!!"
]
}
],
"no-implied-eval": "warn",
"no-import-assign": "warn",
"no-invalid-regexp": "warn",
"no-irregular-whitespace": "warn",
"no-iterator": "warn",
"no-lone-blocks": "warn",
"no-lonely-if": "warn",
"no-loop-func": "warn",
"no-misleading-character-class": "warn",
"no-mixed-operators": "warn",
"no-multi-spaces": "off",
"no-multi-str": "warn",
"no-multiple-empty-lines": "warn",
"no-new-func": "warn",
"no-new-object": "warn",
"no-new-symbol": "warn",
"no-new-wrappers": "warn",
"no-nonoctal-decimal-escape": "warn",
"no-obj-calls": "warn",
"no-octal": "warn",
"no-octal-escape": "warn",
"no-promise-executor-return": "warn",
"no-proto": "warn",
"no-regex-spaces": "warn",
"no-script-url": "warn",
"no-self-assign": "warn",
"no-self-compare": "warn",
"no-sequences": "warn",
"no-setter-return": "warn",
"no-tabs": "off",
"no-template-curly-in-string": "warn",
"no-this-before-super": "error",
"no-throw-literal": "error",
"no-trailing-spaces": "error",
"no-unexpected-multiline": "warn",
"no-unmodified-loop-condition": "warn",
"no-unneeded-ternary": "off",
"no-unreachable": "warn",
"no-unreachable-loop": "warn",
"no-unsafe-negation": [
"warn",
{
"enforceForOrderingRelations": true
}
],
"no-unsafe-optional-chaining": [
"warn",
{
"disallowArithmeticOperators": true
}
],
"no-unused-expressions": "warn",
"no-unused-vars": [
"warn",
{
"args": "none"
}
],
"no-useless-backreference": "warn",
"no-useless-call": "warn",
"no-useless-catch": "warn",
"no-useless-computed-key": [
"warn",
{
"enforceForClassMembers": true
}
],
"no-useless-concat": "warn",
"no-useless-constructor": "warn",
"no-useless-escape": "warn",
"no-useless-rename": "warn",
"no-useless-return": "warn",
"no-var": "warn",
"no-void": "warn",
"no-whitespace-before-property": "warn",
"nonblock-statement-body-position": [
"warn",
"beside"
],
"one-var": [
"warn",
"never"
],
"operator-linebreak": [
"warn",
"before",
{
"overrides": {
"+=": "after",
"-=": "after",
"=": "after"
}
}
],
"prefer-numeric-literals": "warn",
"prefer-object-spread": "warn",
"prefer-regex-literals": "warn",
"prefer-spread": "warn",
"prefer-template": "warn",
"quote-props": [
"warn",
"as-needed",
{
"keywords": false
}
],
"quotes": [
"warn",
"double",
{
"allowTemplateLiterals": false,
"avoidEscape": true
}
],
"rest-spread-spacing": [
"warn",
"never"
],
"semi": "warn",
"semi-spacing": "warn",
"semi-style": [
"warn",
"last"
],
"space-before-blocks": [
"warn",
"always"
],
"space-before-function-paren": [
"warn",
{
"anonymous": "never",
"asyncArrow": "always",
"named": "never"
}
],
"space-unary-ops": [
"warn",
{
"nonwords": false,
"words": true
}
],
"spaced-comment": "warn",
"switch-colon-spacing": "warn",
"symbol-description": "warn",
"template-curly-spacing": [
"warn",
"never"
],
"unicode-bom": [
"warn",
"never"
],
"use-isnan": [
"warn",
{
"enforceForIndexOf": true,
"enforceForSwitchCase": true
}
],
"valid-typeof": [
"warn",
{
"requireStringLiterals": true
}
],
"wrap-iife": [
"warn",
"inside"
]
}
}
2 changes: 0 additions & 2 deletions .gitattributes

This file was deleted.

29 changes: 29 additions & 0 deletions .github/workflows/npm-gulp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: NodeJS with Gulp

on:
push:
branches: [ "develop" ]
pull_request:
branches: [ "develop" ]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x]

steps:
- uses: actions/checkout@v3

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Install Dependencies
run: npm ci

- name: Build
run: npm run build
Loading

0 comments on commit 1eb3d48

Please sign in to comment.