Skip to content

Commit 0bb47cb

Browse files
committed
fix: lint/format/packages
1 parent 4e8fb73 commit 0bb47cb

20 files changed

Lines changed: 3960 additions & 9164 deletions

.eslintrc.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,17 @@
44
"browser": true
55
},
66
"plugins": ["react"],
7-
"extends": ["airbnb", "plugin:react/recommended"],
7+
"extends": [
8+
"prettier",
9+
"@react-native-community",
10+
"plugin:react-native-a11y/all"
11+
],
812
"rules": {
913
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
1014
"react/require-default-props": [0],
1115
"semi": ["error", "never"],
12-
"comma-dangle": "off",
13-
"no-underscore-dangle": ["error", { "allowAfterThis": true }]
16+
"comma-dangle": ["error", "never"],
17+
"no-underscore-dangle": ["error", { "allowAfterThis": true }],
18+
"react-native/no-inline-styles": 0
1419
}
1520
}

.prettierrc.js

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
module.exports = {
2-
bracketSpacing: true,
3-
jsxBracketSameLine: true,
4-
singleQuote: true,
5-
semi: false,
6-
trailingComma: 'none'
7-
}
1+
module.exports = {
2+
bracketSpacing: true,
3+
singleQuote: true,
4+
semi: false,
5+
trailingComma: 'none'
6+
}

exampleapp/.eslintrc.json

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

exampleapp/.prettierrc.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
module.exports = {
2-
bracketSpacing: false,
3-
jsxBracketSameLine: true,
2+
bracketSpacing: true,
43
singleQuote: true,
5-
trailingComma: 'all',
6-
arrowParens: 'avoid',
7-
};
4+
semi: false,
5+
trailingComma: 'none'
6+
}

0 commit comments

Comments
 (0)