Move prettier and babel to separate files

This commit is contained in:
Marc Rousavy 2023-09-01 19:39:14 +02:00
parent 0ee9cb3352
commit 033ddb8cff
3 changed files with 13 additions and 15 deletions

10
package/.prettierrc.js Normal file
View File

@ -0,0 +1,10 @@
module.exports = {
"bracketSpacing": true,
"bracketSameLine": true,
"singleQuote": true,
"trailingComma": "all",
"semi": true,
"tabWidth": 2,
"useTabs": false,
"printWidth": 140
}

3
package/babel.config.js Normal file
View File

@ -0,0 +1,3 @@
module.exports = {
presets: ['module:@react-native/babel-preset'],
};

View File

@ -100,21 +100,6 @@
"optional": true "optional": true
} }
}, },
"prettier": {
"bracketSpacing": true,
"bracketSameLine": true,
"singleQuote": true,
"trailingComma": "all",
"semi": true,
"tabWidth": 2,
"useTabs": false,
"printWidth": 140
},
"babel": {
"presets": [
"module:metro-react-native-babel-preset"
]
},
"release-it": { "release-it": {
"git": { "git": {
"commitMessage": "chore: release ${version}", "commitMessage": "chore: release ${version}",