Skip to content

Commit 3ef6c49

Browse files
authored
fix: dev install + lint issues (#97)
* fix: dev install * lint: update prettier rules This way they no longer compete with how hatch modifies package.json. Also remove the .prettierrc as it was being overriden by the contents of package.json
1 parent 5203e7d commit 3ef6c49

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

.prettierrc

-5
This file was deleted.

jupyterlab_vim/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
def _jupyter_labextension_paths():
1313
return [{
1414
"src": "labextension",
15-
"name": "@axlair/jupyterlab_vim",
15+
"dest": "@axlair/jupyterlab_vim",
1616
}]
1717

package.json

+9-1
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,15 @@
177177
"singleQuote": true,
178178
"trailingComma": "none",
179179
"arrowParens": "avoid",
180-
"endOfLine": "auto"
180+
"endOfLine": "auto",
181+
"overrides": [
182+
{
183+
"files": "package.json",
184+
"options": {
185+
"tabWidth": 4
186+
}
187+
}
188+
]
181189
},
182190
"stylelint": {
183191
"extends": [

0 commit comments

Comments
 (0)