chore(deps): 🔧 Sistemate configurazioni di ESLint e Babel

This commit is contained in:
Maicol Battistini 2021-09-20 11:10:20 +02:00
parent 2d88c172fe
commit 24c6016927
No known key found for this signature in database
GPG Key ID: 4FDB0F87CDB1D34A
3 changed files with 16 additions and 24 deletions

View File

@ -1,22 +1,5 @@
{
"presets": [
["@babel/preset-env", {
"targets": "defaults",
"modules": false,
"loose": true
}],
"@babel/preset-flow"
],
"plugins": [
["@babel/plugin-transform-runtime", { "useESModules": true }],
["@babel/plugin-proposal-class-properties", { "loose": true }],
[
"@babel/plugin-transform-react-jsx",
{
"pragma": "m",
"pragmaFrag": "'['",
"useBuiltIns": true
}
]
]
"presets": [
"openstamanager"
]
}

View File

@ -1,5 +1,5 @@
{
"extends": [
"openstamanager"
"@openstamanager"
]
}

View File

@ -49,14 +49,23 @@
"openstamanager": "link:."
},
"devDependencies": {
"@bunchtogether/vite-plugin-flow": "github:maicol07/vite-plugin-flow",
"@babel/core": "^7.15.5",
"@babel/eslint-parser": "^7.15.7",
"@babel/eslint-plugin": "^7.14.5",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/plugin-transform-react-jsx": "^7.14.9",
"@babel/plugin-transform-runtime": "^7.15.0",
"@babel/preset-env": "^7.15.6",
"@babel/preset-flow": "^7.14.5",
"@bunchtogether/vite-plugin-flow": "^1.0.1",
"@open-wc/eslint-config": "^4.3.0",
"@openstamanager/vite-config": "github:maicol07/openstamanager-vite-config",
"babel-preset-openstamanager": "github:maicol07/babel-preset-openstamanager",
"concurrently": "^6.2.1",
"eslint": "^7.32.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-openstamanager": "github:maicol07/eslint-config-openstamanager",
"eslint-plugin-flowtype": "^5.9.2",
"@openstamanager/eslint-config": "github:maicol07/eslint-config-openstamanager",
"eslint-plugin-flowtype": "^5.10.0",
"eslint-plugin-github": "^4.3.0",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-mithril": "^0.2.0",