style: update eslint rules (#21207)
* style: update eslint rules * style: fix prefer-object-spread * style: fix no-lonely-if * fix: typescript-eslint/no-unnecessary-template-expression * fix: sort import * style: apply file filtering to config presets * revert: changes on pkg * style: revert * style: use defineConfig * style: reorder js plugin in eslint config * chore: remove obsolete override * style: fix CodeQL initialization to ensure language matrix is used
This commit is contained in:
@@ -55,13 +55,13 @@ jobs:
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@v4
|
||||
with:
|
||||
languages: ${{ matrix.language }}
|
||||
# If you wish to specify custom queries, you can do so here or in a config file.
|
||||
# By default, queries listed here will override any specified in a config file.
|
||||
# Prefix the list here with "+" to use these queries and those in the config file.
|
||||
|
||||
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
|
||||
# queries: security-extended,security-and-quality
|
||||
languages: ${{ matrix.language }}
|
||||
|
||||
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
|
||||
# If this step fails, then you should remove it and run the build manually (see below)
|
||||
|
||||
Reference in New Issue
Block a user