Skip to content

Commit

Permalink
eslint-config: Allow Emotion css prop (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
nhardy committed Sep 5, 2022
1 parent de6cd80 commit e6f1b94
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions packages/eslint-config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ module.exports = {
{ allow: "always", extensions: [".tsx"] },
],
"react/jsx-props-no-spreading": "off",
// Allow Emotion css prop
"react/no-unknown-property": ["error", { ignore: ["css"] }],
// Not required with TypeScript
"react/require-default-props": "off",
"react/prop-types": "off",
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kablamo/eslint-config",
"version": "0.0.6",
"version": "0.0.7",
"main": "index.js",
"repository": "https://github.com/KablamoOSS/kerosene/tree/master/packages/eslint-config",
"bugs": {
Expand Down

0 comments on commit e6f1b94

Please sign in to comment.