feat(tools): ✨ Aggiunto Flow
This commit is contained in:
parent
b40a1c6e5b
commit
e4362d3200
|
@ -6,15 +6,18 @@
|
|||
"jquery": true
|
||||
},
|
||||
"plugins": [
|
||||
"@babel"
|
||||
"@babel",
|
||||
"flowtype"
|
||||
],
|
||||
"extends": [
|
||||
"airbnb-base"
|
||||
"airbnb-base",
|
||||
"plugin:flowtype/recommended"
|
||||
],
|
||||
"globals": {
|
||||
"Atomics": "readonly",
|
||||
"SharedArrayBuffer": "readonly"
|
||||
},
|
||||
"parser": "babel-eslint",
|
||||
"parserOptions": {
|
||||
"ecmaVersion": 2021,
|
||||
"sourceType": "module"
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
[ignore]
|
||||
|
||||
[include]
|
||||
resources/js
|
||||
|
||||
[libs]
|
||||
|
||||
[lints]
|
||||
|
||||
[options]
|
||||
|
||||
[strict]
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="JavaScriptSettings">
|
||||
<option name="languageLevel" value="FLOW" />
|
||||
</component>
|
||||
</project>
|
|
@ -12,10 +12,16 @@
|
|||
"production": "mix --production"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/cli": "^7",
|
||||
"@babel/core": "^7",
|
||||
"@babel/eslint-parser": "^7",
|
||||
"@babel/eslint-plugin": "^7",
|
||||
"@babel/preset-flow": "^7",
|
||||
"eslint": "^7",
|
||||
"eslint-config-airbnb-base": "^14",
|
||||
"eslint-plugin-flowtype": "^5",
|
||||
"eslint-plugin-import": "^2",
|
||||
"flow-bin": "^0",
|
||||
"laravel-mix": "^6",
|
||||
"sass": "^1",
|
||||
"sass-loader": "^12",
|
||||
|
|
Loading…
Reference in New Issue