Skip to content

Commit 0571fc1

Browse files
committed
v0.1.2
1 parent b68ad2b commit 0571fc1

File tree

4 files changed

+83
-83
lines changed

4 files changed

+83
-83
lines changed

.eslintrc

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
{
2+
"root": true,
3+
"parser": "@typescript-eslint/parser",
4+
"parserOptions": {
5+
"ecmaVersion": 8,
6+
"sourceType": "module",
7+
"ecmaFeatures": {
8+
"impliedStrict": true,
9+
"experimentalObjectRestSpread": true,
10+
},
11+
"allowImportExportEverywhere": true
12+
},
13+
"plugins": ["@typescript-eslint", "import", "testing-library"],
14+
"extends": [
15+
"eslint:recommended",
16+
"plugin:@typescript-eslint/recommended",
17+
"plugin:import/errors",
18+
"plugin:import/warnings",
19+
"plugin:import/typescript",
20+
"plugin:jest-dom/recommended",
21+
"plugin:testing-library/react",
22+
"plugin:react/recommended",
23+
"plugin:react-hooks/recommended",
24+
"plugin:prettier/recommended",
25+
"prettier"
26+
],
27+
"rules": {
28+
// `@typescript-eslint`
29+
// https://github.com/typescript-eslint/typescript-eslint
30+
"@typescript-eslint/explicit-module-boundary-types": "off",
31+
"@typescript-eslint/no-explicit-any": "off",
32+
"@typescript-eslint/no-unused-vars": [
33+
2,
34+
{
35+
"argsIgnorePattern": "^_"
36+
}
37+
],
38+
// `eslint-plugin-import`
39+
// https://github.com/benmosher/eslint-plugin-import
40+
"import/order": [
41+
"error",
42+
{
43+
"groups": ["external", "internal"],
44+
"newlines-between": "always-and-inside-groups"
45+
}
46+
],
47+
"sort-imports": [
48+
"warn",
49+
{
50+
"ignoreCase": false,
51+
"ignoreDeclarationSort": true,
52+
"ignoreMemberSort": false
53+
}
54+
],
55+
// `eslint-plugin-react`
56+
// https://github.com/yannickcr/eslint-plugin-react
57+
"react/prop-types": "off"
58+
},
59+
"settings": {
60+
"import/parsers": {
61+
"@typescript-eslint/parser": [".ts", ".tsx"]
62+
},
63+
"import/resolver": {
64+
"typescript": {
65+
"alwaysTryTypes": true
66+
}
67+
},
68+
"react": {
69+
"version": "detect"
70+
}
71+
},
72+
"env": {
73+
"es6": true,
74+
"browser": true,
75+
"node": true,
76+
"jest": true
77+
}
78+
}

.eslintrc.js

Lines changed: 0 additions & 78 deletions
This file was deleted.

.prettierrc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
{
1111
"files": "*.yaml",
1212
"options": {
13-
"tabWidth": 2,
14-
},
15-
},
16-
],
13+
"tabWidth": 2
14+
}
15+
}
16+
]
1717
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-supabase",
3-
"version": "0.1.1",
3+
"version": "0.1.2",
44
"description": "React Hooks library for Supabase",
55
"main": "./dist/index.cjs.js",
66
"module": "./dist/index.es.js",

0 commit comments

Comments
 (0)