Skip to content

Commit 608fa37

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

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.codacy/codacy.yaml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,11 @@ runtimes:
33
44
55
6-
76
tools:
8-
9-
10-
7+
118
129
13-
14-
- revive@1.11.0
10+
11+
- revive@1.12.0
1512
1613

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)