Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Nicely format declaration files
  • Loading branch information
Kartik Raj
Kartik Raj committed Jul 17, 2023
commit 4509cac0bad0a670e8bbbeb4ca94c3168b3e5d76
8 changes: 8 additions & 0 deletions pythonExtensionApi/.eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"rules": {
"padding-line-between-statements": [
"error",
{ "blankLine": "always", "prev": "export", "next": "*" }
]
}
}
3 changes: 2 additions & 1 deletion pythonExtensionApi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"clean": "node ../node_modules/rimraf/bin.js out",
"lint": "node ../node_modules/eslint/bin/eslint.js --ext ts src",
"all": "npm run clean && npm run compile",
"all:publish": "git clean -xfd . && npm install && npm run compile"
"formatTypings": "node ../node_modules/eslint/bin/eslint.js --fix ./out/main.d.ts",
"all:publish": "git clean -xfd . && npm install && npm run compile && npm run formatTypings"
}
}