Skip to content

Commit

Permalink
[pull] master from anuraghazra:master (#35)
Browse files Browse the repository at this point in the history
* docs(contributing guidelines): remove duplicate license section (anuraghazra#3333)

* refactor: fix typo in TRY_AGAIN_LATER constant name (anuraghazra#3274)

* docs: add available locales section (anuraghazra#3331)

* docs: add available locales section

* dev

* docs: remove broken sponsor links (anuraghazra#3336)

solves: anuraghazra#3334

Removed broken "Supported by" links in documentation

* CI: Add static code analysis workflow (CodeQL) (anuraghazra#2918)

* infra: enable no-with eslint rule (anuraghazra#3233)

* infra: enable no-multiple-empty-lines eslint rule (anuraghazra#3262)

* docs: fix relative README links (anuraghazra#3067)

---------

Co-authored-by: Alexandr Garbuzov <qwerty541zxc@gmail.com>
Co-authored-by: Vishal Sharma <106011641+vishal-sharma-369@users.noreply.github.com>
Co-authored-by: Rick Staa <rick.staa@outlook.com>
  • Loading branch information
4 people authored and j4ckofalltrades committed Mar 13, 2024
1 parent fda551e commit 64b8eb9
Show file tree
Hide file tree
Showing 4 changed files with 126 additions and 241 deletions.
25 changes: 13 additions & 12 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@
"terms": [ "TODO", "FIXME" ],
"location": "start"
}],
"no-with": "warn",
"radix": "warn",
// "no-with": "warn",
// "radix": "warn",
// "vars-on-top": "error",

// Enforces the style of wrapped functions
Expand All @@ -113,7 +113,7 @@

// "init-declarations": [ "error", "always" ],
// "no-catch-shadow": "warn",
"no-delete-var": "error",
// "no-delete-var": "error",
// "no-label-var": "error",
// "no-shadow-restricted-names": "error",
// "no-shadow": "warn",
Expand Down Expand Up @@ -150,12 +150,12 @@
// "arrow-body-style": [ "error", "always" ],
// "arrow-parens": [ "error", "always" ],
// "arrow-spacing": [ "error", { "before": true, "after": true }],
"constructor-super": "error",
// "constructor-super": "error",
// "generator-star-spacing": [ "error", "before" ],
// "no-arrow-condition": "error",
"no-class-assign": "error",
"no-const-assign": "error",
"no-dupe-class-members": "error",
// "no-class-assign": "error",
// "no-const-assign": "error",
// "no-dupe-class-members": "error",
"no-this-before-super": "error",
// "no-var": "warn",
"object-shorthand": [ "warn" ],
Expand Down Expand Up @@ -193,9 +193,9 @@
// "no-continue": "off",
// "no-inline-comments": "off",
// "no-lonely-if": "warn",
"no-mixed-spaces-and-tabs": "warn",
"no-multiple-empty-lines": "warn",
"no-negated-condition": "warn",
// "no-mixed-spaces-and-tabs": "warn",
// "no-multiple-empty-lines": "warn",
// "no-negated-condition": "off",
// "no-nested-ternary": "warn",
// "no-new-object": "warn",
// "no-plusplus": "off",
Expand All @@ -217,13 +217,14 @@
"MethodDefinition": true,
"ClassDeclaration": false
}
}],
}]
// "semi-spacing": [ "warn", { "before": false, "after": true }],
// "semi": [ "error", "always" ],
// "sort-vars": "off",
"keyword-spacing": ["error", { "before": true, "after": true }]
// "space-after-keywords": [ "warn", "always" ],
// "space-before-blocks": [ "warn", "always" ],
// "space-before-function-paren": [ "warn", "never" ],
// "space-before-keywords": [ "warn", "always" ],
// "space-in-parens": [ "warn", "never" ],
// "space-infix-ops": [ "warn", { "int32Hint": true } ],
// "space-return-throw-case": "error",
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ossf-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ permissions: read-all

jobs:
analysis:
if: github.repository == 'anuraghazra/github-readme-stats'
name: Scorecard analysis
runs-on: ubuntu-latest
permissions:
Expand Down
Loading

0 comments on commit 64b8eb9

Please sign in to comment.