Skip to content

Commit e64f279

Browse files
authored
[POC] Feat/a11y tree (#320)
* expo module * expo module * Initial iOS & Android error check implementation * Prettier fix * move example to playground * make clear error * improve playground app
1 parent 6c7ed2b commit e64f279

File tree

297 files changed

+17453
-9820
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

297 files changed

+17453
-9820
lines changed

.eslintrc.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module.exports = {
22
root: true,
3-
extends: ['@react-native'],
3+
extends: ['@react-native', 'plugin:jest/recommended'],
44
plugins: ['jest', 'import'],
55
env: {
66
browser: true,
@@ -9,6 +9,7 @@ module.exports = {
99
rules: {
1010
'@typescript-eslint/no-unused-vars': 'off',
1111
'react-hooks/rules-of-hooks': 'off',
12+
'@typescript-eslint/func-call-spacing': 'off',
1213
},
1314
parserOptions: {
1415
project: ['./tsconfig.json'],

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,5 @@ coverage
4747
!.yarn/releases
4848
!.yarn/sdks
4949
!.yarn/versions
50+
example/.yarn
51+
playground/.yarn/cache/

.prettierrc.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
module.exports = {
2-
bracketSpacing: true,
3-
jsxBracketSameLine: true,
4-
singleQuote: true,
5-
trailingComma: 'all',
6-
arrowParens: 'avoid',
7-
importOrder: ['<THIRD_PARTY_MODULES>', '^~(.*)/(.*)$', '^[./]'],
8-
importOrderSeparation: true,
9-
importOrderSortSpecifiers: true,
2+
plugins: [require('@ianvs/prettier-plugin-sort-imports')],
3+
bracketSpacing: true,
4+
jsxBracketSameLine: true,
5+
singleQuote: true,
6+
trailingComma: 'all',
7+
arrowParens: 'avoid',
8+
importOrder: ['<THIRD_PARTY_MODULES>', '^~(.*)/(.*)$', '^[./]'],
9+
parser: 'typescript',
1010
};

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,12 @@ export const App = () => {
6363
};
6464
```
6565

66+
### Playground
67+
68+
You can use the playground app within this repository to see how AMA checks work in practice.
69+
The playground can also be used to learn how to fix accessibility issues in your app.
70+
71+
6672
## 📃 [Documentation](https://commerce.nearform.com/open-source/react-native-ama)
6773

6874
The documentation contains everything you need to know about `@react-native-ama/...`. It contains several sections in order of importance when you first get started:

examples/README.md

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

examples/bare/.bundle/config

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

examples/bare/.eslintrc.js

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

examples/bare/.gitignore

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

examples/bare/.prettierrc.js

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

examples/bare/.watchmanconfig

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)