Skip to content

Commit 247c260

Browse files
authored
wix-components-library eslint plugin (#5873)
1 parent b493b5e commit 247c260

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@
149149
"enzyme": "^3.11.0",
150150
"enzyme-adapter-react-16": "^1.15.2",
151151
"eslint-plugin-react": "^6.10.3",
152+
"eslint-plugin-wix-components-library": "^1.0.0",
152153
"execa": "^4.0.3",
153154
"express": "^4.17.1",
154155
"eyes.it": "^2.0.53",
@@ -280,7 +281,9 @@
280281
"legacyDecorators": true
281282
}
282283
},
284+
"plugins": ["eslint-plugin-wix-components-library"],
283285
"rules": {
286+
"wix-components-library/prop-types-restrict-to-default-import": 2,
284287
"import/no-unresolved": 0,
285288
"jsx-a11y/alt-text": 0,
286289
"jsx-a11y/anchor-is-valid": 0,

0 commit comments

Comments
 (0)