mirror of
https://github.com/zhigang1992/react-native-hold-menu.git
synced 2026-06-16 20:01:09 +08:00
19 lines
385 B
JavaScript
19 lines
385 B
JavaScript
module.exports = {
|
|
root: true,
|
|
extends: ['@react-native-community', 'prettier'],
|
|
rules: {
|
|
'no-console': ['error', { allow: ['warn', 'error'] }],
|
|
'prettier/prettier': [
|
|
'error',
|
|
{
|
|
printWidth: 80,
|
|
arrowParens: 'avoid',
|
|
singleQuote: true,
|
|
tabWidth: 2,
|
|
trailingComma: 'es5',
|
|
useTabs: false,
|
|
},
|
|
],
|
|
},
|
|
};
|