Skip to content

Commit

Permalink
Merge pull request #651 from battlecode/serena/cleanup
Browse files Browse the repository at this point in the history
Fix npm errors and enforce spacing
  • Loading branch information
acrantel authored Jun 18, 2023
2 parents 2ef943f + 25d3b38 commit d0d21f4
Show file tree
Hide file tree
Showing 5 changed files with 2,962 additions and 1,208 deletions.
6 changes: 6 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"eslint.workingDirectories": ["./frontend2"],
"editor.detectIndentation": false,
"editor.tabSize": 2,
"editor.insertSpaces": true
}
4 changes: 3 additions & 1 deletion frontend2/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ module.exports = {
sourceType: "module",
},
plugins: ["react"],
rules: {},
rules: {
indent: ["error", 2],
},
settings: {
react: {
createClass: "createReactClass", // Regex for Component Factory to use,
Expand Down
Loading

0 comments on commit d0d21f4

Please sign in to comment.