Skip to content

Commit

Permalink
feat: rn 0.75.3
Browse files Browse the repository at this point in the history
  • Loading branch information
michalsek committed Sep 24, 2024
1 parent 7313479 commit 2ff0fd0
Show file tree
Hide file tree
Showing 85 changed files with 3,596 additions and 7,746 deletions.
95 changes: 95 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
/** @type {import('eslint').ESLint.ConfigData} */
module.exports = {
root: true,
overrides: [
{
files: ['*.ts', '*.tsx'],
parser: '@typescript-eslint/parser',
parserOptions: {
project: true,
tsconfigRootDir: __dirname,
},
plugins: ['tsdoc'],
extends: ['plugin:@typescript-eslint/recommended-type-checked'],
rules: {
'@typescript-eslint/no-unsafe-call': 'off',
'@typescript-eslint/no-unsafe-member-access': 'off',
'@typescript-eslint/no-unsafe-return': 'off',
'@typescript-eslint/no-unsafe-assignment': 'off',
'@typescript-eslint/no-unsafe-argument': 'off',
'@typescript-eslint/no-explicit-any': 'warn',
'@typescript-eslint/ban-ts-comment': [
'error',
{
'ts-ignore': 'allow-with-description',
'ts-expect-error': 'allow-with-description',
},
],
'@typescript-eslint/no-unused-vars': [
'error',
{ argsIgnorePattern: '^_' },
],
'@typescript-eslint/no-var-requires': 'warn',
'@typescript-eslint/consistent-type-imports': [
'error',
{ prefer: 'type-imports' },
],
'@typescript-eslint/consistent-type-exports': [
'error',
{ fixMixedExportsWithInlineTypeSpecifier: false },
],
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/no-duplicate-type-constituents': 'error',
'@typescript-eslint/no-shadow': 'error',
'tsdoc/syntax': 'error',
},
},
{
files: ['*.js', '*.jsx'],
plugins: ['jsdoc'],
extends: ['plugin:jsdoc/recommended'],
rules: {
'jsdoc/tag-lines': 'off',
},
},
],
parserOptions: {
requireConfigFile: false,
},
extends: [
'standard',
'prettier',
'plugin:import/typescript',
'plugin:react-hooks/recommended',
],
plugins: ['react', 'react-native', 'import', 'jest', '@typescript-eslint'],
env: {
'react-native/react-native': true,
'jest/globals': true,
},
settings: {
'import/resolver': {
'babel-module': {
extensions: ['.js', '.jsx', '.ts', '.tsx'],
},
},
},
rules: {
'object-shorthand': 'error',
'curly': ['error', 'all'],
'no-case-declarations': 'error',
'import/no-unresolved': 'error',
'import/consistent-type-specifier-style': ['error', 'prefer-top-level'],
'react/jsx-uses-vars': 'error',
'react/jsx-uses-react': 'error',
'no-use-before-define': 'off',
'eqeqeq': 'error',
'no-unreachable': 'error',
'jest/no-disabled-tests': 'warn',
'jest/no-focused-tests': 'error',
'jest/no-identical-title': 'error',
'jest/prefer-to-have-length': 'warn',
'jest/valid-expect': 'error',
'react/react-in-jsx-scope': 'off',
},
};
874 changes: 0 additions & 874 deletions .yarn/releases/yarn-3.6.4.cjs

This file was deleted.

925 changes: 925 additions & 0 deletions .yarn/releases/yarn-4.5.0.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ enableGlobalCache: false

nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-3.6.4.cjs
yarnPath: .yarn/releases/yarn-4.5.0.cjs
2 changes: 1 addition & 1 deletion apps/common-app/src/examples/DrumMachine/DrumMachine.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import { useRef, useEffect, FC } from 'react';
import { Button } from 'react-native';
import { useRef, useEffect, FC } from 'react';
import { AudioContext } from 'react-native-audio-api';

import Container from '../../components/Container';
Expand Down
2 changes: 1 addition & 1 deletion apps/common-app/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"extends": "../../tsconfig.json"
"extends": "../../tsconfig.json",
}
2 changes: 0 additions & 2 deletions apps/common-example/.bundle/config

This file was deleted.

1 change: 0 additions & 1 deletion apps/common-example/.watchmanconfig

This file was deleted.

9 changes: 0 additions & 9 deletions apps/common-example/Gemfile

This file was deleted.

107 changes: 0 additions & 107 deletions apps/common-example/Gemfile.lock

This file was deleted.

20 changes: 0 additions & 20 deletions apps/common-example/README.md

This file was deleted.

124 changes: 0 additions & 124 deletions apps/common-example/android/app/build.gradle

This file was deleted.

Binary file removed apps/common-example/android/app/debug.keystore
Binary file not shown.
10 changes: 0 additions & 10 deletions apps/common-example/android/app/proguard-rules.pro

This file was deleted.

Loading

0 comments on commit 2ff0fd0

Please sign in to comment.