generated from storybookjs/addon-kit
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc.cjs
29 lines (29 loc) · 1012 Bytes
/
.eslintrc.cjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
module.exports = {
root: true,
extends: ["@storybook/eslint-config-storybook", "plugin:storybook/recommended"],
rules: {
"@typescript-eslint/explicit-module-boundary-types": "off",
"eslint-comments/disable-enable-pair": "off",
"simple-import-sort/imports": "error",
"simple-import-sort/exports": "error",
"import/named": "off", // TODO reenable when we update to CPC (revert PR #338)
"import/order": "off",
"import/no-extraneous-dependencies": ["error", { devDependencies: true }],
"@typescript-eslint/ban-ts-comment": [
"error",
{
"ts-expect-error": "allow-with-description",
"ts-ignore": "allow-with-description",
"ts-nocheck": "allow-with-description",
"ts-check": "allow-with-description",
minimumDescriptionLength: 3,
},
],
"jest/no-deprecated-functions": "off",
},
parser: "@typescript-eslint/parser",
parserOptions: {
project: ["./tsconfig.json"],
},
plugins: ["simple-import-sort"],
};