Skip to content
This repository was archived by the owner on Mar 7, 2024. It is now read-only.

Commit 7ff4008

Browse files
authored
feat: add new eslint and prettier rules (#130)
1 parent 185fa0a commit 7ff4008

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.eslintrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
"jsx-a11y/click-events-have-key-events": "off",
3939
"jsx-a11y/no-static-element-interactions": "off",
4040
"jsx-a11y/control-has-associated-label": "off",
41-
"jsx-a11y/anchor-is-valid": "off"
41+
"jsx-a11y/anchor-is-valid": "off",
42+
"semi": [2, "always"]
4243
}
4344
}

.prettierrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"singleQuote": true,
55
"trailingComma": "none",
66
"tabWidth": 2,
7+
"semi": true,
78
"useTabs": false,
89
"react/jsx-max-props-per-line": [1, { "when": "always" }]
9-
}
10+
}

0 commit comments

Comments
 (0)