Skip to content

Commit

Permalink
Revert fixes done by code editor plugin, add new rules, check if CI f…
Browse files Browse the repository at this point in the history
…ails.
  • Loading branch information
ilonatommy committed Mar 26, 2024
1 parent 41d08f9 commit f8be1d2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/mono/browser/runtime/.eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
jiterpreter-opcodes.ts
jiterpreter-tables.ts
dotnet.d.ts
12 changes: 11 additions & 1 deletion src/mono/browser/runtime/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ module.exports = {
"es6/*.js",
"jiterpreter-opcodes.ts",
"jiterpreter-tables.ts",
"dotnet.d.ts",
],
"rules": {
"@typescript-eslint/no-explicit-any": "off",
Expand All @@ -48,6 +49,15 @@ module.exports = {
"semi": [
"error",
"always"
]
],
"brace-style": ["error"],
"eol-last": ["error"],
"space-before-blocks": ["error"],
"semi-spacing": ["error", { "before": false, "after": true }],
"no-trailing-spaces": ["error"],
"object-curly-spacing": ["error"],
"array-bracket-spacing": ["error"],
"space-infix-ops": ["error"],
"space-before-function-paren": ["error"],
}
};

0 comments on commit f8be1d2

Please sign in to comment.