Skip to content

Commit 608fa37

Browse files
Add block files to Eslint configuration file
1 parent 6b54110 commit 608fa37

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

.codacy/codacy.yaml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,11 @@ runtimes:
33
- java@17.0.10
44
- node@22.2.0
55
- python@3.11.11
6-
- dart@3.7.2
76
tools:
8-
- codacy-enigma-cli@0.0.1-main.8.49310c3
9-
- dartanalyzer@3.7.2
10-
- eslint@8.57.0
7+
- eslint@9.38.0
118
- lizard@1.17.31
129
- pmd@6.55.0
13-
- pylint@3.3.7
14-
- revive@1.11.0
10+
- pylint@3.3.9
11+
- revive@1.12.0
1512
- semgrep@1.78.0
1613
- trivy@0.66.0

tools/eslintConfigCreator.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ var rulesWithoutOptions = map[string]bool{
154154
func CreateEslintConfig(toolsConfigDir string, configuration []domain.PatternConfiguration) error {
155155
result := `export default [
156156
{
157+
files: ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"],
157158
rules: {
158159
`
159160

0 commit comments

Comments
 (0)