Skip to content

Commit f1a86fc

Browse files
committed
lint all relevant files with eslint
1 parent 6d17415 commit f1a86fc

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.eslintignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/dist
2+
/node_modules

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"build:esm": "tsc --project tsconfig.build.esm.json",
2323
"translations:extract": "formatjs extract 'src/**/*.{js,ts}' --out-file translations-template.json --format simple",
2424
"translations:diff": "echo 'de:' && json-diff --keys-only src/translations/de.json translations-template.json && echo 'it:' && json-diff --keys-only src/translations/it.json translations-template.json",
25-
"lint": "eslint --cache --ext js,ts,tsx src",
25+
"lint": "eslint --cache --ext js,ts,tsx,json .",
2626
"lint:fix": "npm run lint -- --cache --fix",
2727
"typecheck": "tsc --noEmit",
2828
"test": "jest --config jest.config.js --passWithNoTests",

0 commit comments

Comments
 (0)