forked from vime-js/vime
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
36 lines (36 loc) · 1.01 KB
/
.eslintrc.json
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
30
31
32
33
34
35
36
{
"parserOptions": {
"project": "./tsconfig.json"
},
"extends": [
"airbnb-typescript"
],
"ignorePatterns": [
"docs/**",
"packages/angular/src/directives/**",
"packages/react/src/components.ts",
"packages/react/src/react-component-lib/**",
"packages/svelte/src/components/**",
"packages/svelte/src/svelte/**",
"packages/svelte/src/components.ts",
"packages/vue/src/components.ts",
"packages/vue/src/vue-component-lib/**"
],
"rules": {
"no-console": "off",
"default-case": "off",
"class-methods-use-this": "off",
"react/jsx-no-bind": "off",
"react/react-in-jsx-scope": "off",
"react/jsx-props-no-spreading": "off",
"react/no-unknown-property": "off",
"import/prefer-default-export": "off",
"import/no-extraneous-dependencies": ["error", {
"devDependencies": true
}],
"@typescript-eslint/no-unused-expressions": "off",
"@typescript-eslint/no-unused-vars": ["error", {
"varsIgnorePattern": "^(h|Fragment)$"
}]
}
}