Skip to content

Commit

Permalink
- [identity-broker] move sample to flat config
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremymeng committed Aug 23, 2024
1 parent 6165973 commit 6015c69
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 13 deletions.
12 changes: 0 additions & 12 deletions sdk/identity/identity-broker/samples/v1/typescript/.eslintrc

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import eslint from "@eslint/js";
import typescriptEsLint from "typescript-eslint";

export default typescriptEsLint.config(
{
languageOptions: {
parserOptions: {
sourceType: "module",
project: "./tsconfig.json",
},
parser: typescriptEsLint.parser,
},
},
eslint.configs.recommended,
...typescriptEsLint.configs.recommended,
typescriptEsLint.configs.eslintRecommended,
);
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"scripts": {
"build": "npm run clean && tsc && cp index.html ./dist",
"clean": "rimraf --glob dist",
"lint": "eslint -c .eslintrc --ext .ts ./src",
"lint": "eslint src",
"start": "electron ./dist/index.js"
},
"repository": {
Expand Down

0 comments on commit 6015c69

Please sign in to comment.