jazz-react-native 0.8.3

Sign up to get free protection for your applications and to get access to all the features.
package/.eslintrc.cjs ADDED
@@ -0,0 +1,24 @@
1
+ module.exports = {
2
+ extends: [
3
+ "eslint:recommended",
4
+ "plugin:@typescript-eslint/recommended",
5
+ "plugin:require-extensions/recommended",
6
+ "prettier",
7
+ ],
8
+ parser: "@typescript-eslint/parser",
9
+ plugins: ["@typescript-eslint", "require-extensions"],
10
+ parserOptions: {
11
+ project: "./tsconfig.json",
12
+ tsconfigRootDir: __dirname,
13
+ },
14
+ ignorePatterns: [".eslintrc.cjs", "dist"],
15
+ root: true,
16
+ rules: {
17
+ "no-unused-vars": "off",
18
+ "@typescript-eslint/no-unused-vars": [
19
+ "error",
20
+ { argsIgnorePattern: "^_", varsIgnorePattern: "^_" },
21
+ ],
22
+ "@typescript-eslint/no-floating-promises": "error",
23
+ },
24
+ };
package/.prettierrc.js ADDED
@@ -0,0 +1,9 @@
1
+ /** @type {import("prettier").Config} */
2
+ const config = {
3
+ trailingComma: "all",
4
+ tabWidth: 4,
5
+ semi: true,
6
+ singleQuote: false,
7
+ };
8
+
9
+ export default config;