Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 3 additions & 13 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,16 +1,6 @@
# don't ever lint node_modules
node_modules
package-lock.json
# don't lint build output
build
# don't lint build output (make sure it's set to your correct build folder name)
dist
# don't lint coverage output
coverage
# don't lint workflows etc
.github
.idea
.vscode
# unsupported file types
*.yaml
*.yml
*.md
# don't lint nyc coverage output
coverage
87 changes: 87 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
plugins: [
'@typescript-eslint',
'react',
"react-hooks",
"react-native",
"prettier",
"jsx-a11y",
"eslint-comments",
"import"
],
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'airbnb-typescript',
"airbnb",
"airbnb/hooks",
"plugin:react/recommended",
"plugin:react-hooks/recommended",
"plugin:react-native/all",
"prettier",
"plugin:prettier/recommended",
"plugin:jsx-a11y/recommended",
"plugin:eslint-comments/recommended",
"plugin:import/errors",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:import/typescript"
],
env: {
node: true,
"react-native/react-native": true
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2020,
"sourceType": "module",
"project": "./tsconfig.json"
},
"rules": {
"@typescript-eslint/no-explicit-any": ["error", { "ignoreRestArgs": false, "fixToUnknown": false }],
"import/no-unresolved": 0,
"react/jsx-filename-extension": [1, {
"extensions": [
".ts",
".tsx",
".js",
".jsx"
]
}],
"prettier/prettier": [
"error",
{
// documented at: https://prettier.io/docs/en/configuration.html
"printWidth": 80,
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": true,
"quoteProps": "consistent",
"jsxSingleQuote": true,
"trailingComma": "all",
"bracketSpacing": true,
"jsxBracketSameLine": true,
"arrowParens": "always",
"requirePragma": false,
"insertPragma": false,
"proseWrap": "preserve",
"htmlWhitespaceSensitivity": "css",
"endOfLine": "lf",
"embeddedLanguageFormatting": "auto"
}
],
"no-use-before-define": "off",
"@typescript-eslint/no-use-before-define": ["error"],
"import/extensions": ["error", "never"],
"react/prop-types": 0,
"no-shadow": "off",
"@typescript-eslint/no-shadow": ["error"],
"no-undef": "off"
},
"ignorePatterns": [".eslintrc.js"]
};
109 changes: 0 additions & 109 deletions .eslintrc.yaml

This file was deleted.

Binary file removed .github/assets/images/screenshots/badges.png
Binary file not shown.
Binary file removed .github/assets/images/screenshots/badges_full.png
Binary file not shown.
Binary file removed .github/assets/images/screenshots/basic.png
Binary file not shown.
Binary file removed .github/assets/images/screenshots/basic_full.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
130 changes: 0 additions & 130 deletions .github/workflows/ci.yaml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
name: "🚀 publish"

on:
Expand All @@ -16,4 +15,4 @@ jobs:
registry-url: https://registry.npmjs.org/
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_ACCESS_TOKEN}}
NODE_AUTH_TOKEN: ${{secrets.NPM_ACCESS_TOKEN}}
8 changes: 3 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
node_modules
#package-lock.json
# package-lock.json should be in source control.
# see here: https://stackoverflow.com/questions/44206782/do-i-commit-the-package-lock-json-file-created-by-npm-5
.vscode/*
.idea

package-lock.json
.vscode/*
2 changes: 1 addition & 1 deletion .npmignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.github/
node_modules/
examples

package-lock.json
16 changes: 0 additions & 16 deletions .prettierignore

This file was deleted.

Loading