Skip to content

Commit d3d89d4

Browse files
LingDong-Lingdong Huang
authored andcommitted
more attempts to fix lint
1 parent ba70085 commit d3d89d4

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

.eslintrc.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,5 @@ module.exports = {
1212
// "eslint:recommended",
1313
"prettier",
1414
"prettier/babel"
15-
],
16-
rules:{
17-
"quote-props":[2,"always"]
18-
}
15+
]
1916
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"test:update": "mocha --require mocha-snapshots --update",
3333
"lint:fix": "npm run lint -- --fix",
3434
"lint": "eslint {src,tools,test}/**/*.js",
35-
"prettify": "prettier {src,tools,test}/**/*.js --write"
35+
"prettify": "prettier {src,tools,test}/**/*.js --write --quote-props preserve"
3636
},
3737
"husky": {
3838
"hooks": {

static/spec.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@
2626
}
2727
body{
2828
margin:50px;
29+
font-size: 14px;
2930
}
31+
3032
</style>
3133
<script>
3234
var bnf_path = "https://raw.githubusercontent.com/LingDong-/wenyan-lang/new_compiler/antlr/cpp/wenyan.g4"
@@ -58,6 +60,6 @@
5860
return response.text();
5961
})
6062
.then((txt) => {
61-
document.body.innerHTML = "<i>Wenyan Language Specification</i>"+rich(txt);
63+
document.body.innerHTML = "<i style='font-size:18px;font-family:serif'>Wenyan Language Specification</i><br><br>"+rich(txt);
6264
});
6365
</script>

0 commit comments

Comments
 (0)