mirror of
https://github.com/zoriya/react-native-video.git
synced 2026-06-08 04:42:51 +00:00
0b273d16de
* docs: refactor tabs * docs: update video-view docs * docs: lowercase tabs * feat(docs): add downloading section * chore: add chapters example video * docs: update sidebar type * docs: update tab heading * docs: add title to fundaments * docs: lowercase plugin * docs(sidebar): remove link to offline sdk * docs: add `ads` tab * chore: add `build` to eslint ignore * docs: remove theme mermaid * refactor: update deploy values * chore: upper case tabs * refactor: update configuration tabs name * feat: add `ask for plugin` tab * refactor: update analytics tab * docs: update player class tip * docs: make chapters paid * docs: update utm's * docs(downloading): update intro * chore: bump `docusaurus-ui` package to 0.1.2 * fix: update paths * docs: update dashes * docs: update downloading events example imports * docs: update readme * docs: update case * refactor: update intro & offer
46 lines
983 B
JavaScript
46 lines
983 B
JavaScript
module.exports = {
|
|
root: true,
|
|
extends: ['@react-native', 'plugin:prettier/recommended'],
|
|
ignorePatterns: [
|
|
'**/node_modules',
|
|
'**/lib',
|
|
'**/build',
|
|
'**/.eslintrc.js',
|
|
'**/.prettierrc.js',
|
|
'**/jest.config.js',
|
|
'**/babel.config.js',
|
|
'**/metro.config.js',
|
|
'**/react-native.config.js',
|
|
'**/tsconfig.json',
|
|
],
|
|
plugins: ['@typescript-eslint', 'prettier'],
|
|
parser: '@typescript-eslint/parser',
|
|
parserOptions: {
|
|
project: true,
|
|
tsconfigRootDir: __dirname,
|
|
ecmaFeatures: {
|
|
jsx: true,
|
|
},
|
|
ecmaVersion: 2020,
|
|
sourceType: 'module',
|
|
},
|
|
rules: {
|
|
'prettier/prettier': [
|
|
'error',
|
|
{
|
|
quoteProps: 'consistent',
|
|
singleQuote: true,
|
|
tabWidth: 2,
|
|
trailingComma: 'es5',
|
|
useTabs: false,
|
|
},
|
|
],
|
|
quotes: [
|
|
'error',
|
|
'single',
|
|
{ avoidEscape: true, allowTemplateLiterals: true },
|
|
],
|
|
'@react-native/no-deep-imports': 'off',
|
|
},
|
|
};
|