Added Husky - precommit, prepush | Fix Prettier (#265)
* TP-25963b | Added Husky - precommit, prepush * TP-25963 | Lint Fixes
This commit is contained in:
committed by
GitHub Enterprise
parent
96a7d81d9c
commit
ebfb5b1479
@@ -1,22 +1,22 @@
|
||||
module.exports = {
|
||||
presets: ['module:metro-react-native-babel-preset'],
|
||||
plugins: [
|
||||
["@babel/plugin-proposal-decorators", { legacy: true }],
|
||||
[
|
||||
require.resolve('babel-plugin-module-resolver'),
|
||||
{
|
||||
cwd: 'babelrc',
|
||||
extensions: ['.ts', '.tsx', '.js', '.ios.js', '.android.js'],
|
||||
alias: {
|
||||
'@cuteapp': './app'
|
||||
}
|
||||
}
|
||||
],
|
||||
'jest-hoist'
|
||||
presets: ['module:metro-react-native-babel-preset'],
|
||||
plugins: [
|
||||
['@babel/plugin-proposal-decorators', { legacy: true }],
|
||||
[
|
||||
require.resolve('babel-plugin-module-resolver'),
|
||||
{
|
||||
cwd: 'babelrc',
|
||||
extensions: ['.ts', '.tsx', '.js', '.ios.js', '.android.js'],
|
||||
alias: {
|
||||
'@cuteapp': './app',
|
||||
},
|
||||
},
|
||||
],
|
||||
"env": {
|
||||
"production": {
|
||||
"plugins": ["transform-remove-console"]
|
||||
}
|
||||
}
|
||||
'jest-hoist',
|
||||
],
|
||||
env: {
|
||||
production: {
|
||||
plugins: ['transform-remove-console'],
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user