feat(tools): Aggiunto StyleLint

This commit is contained in:
Maicol Battistini 2021-07-30 19:23:17 +02:00
parent 48b2109d03
commit dc906367aa
No known key found for this signature in database
GPG Key ID: 4FDB0F87CDB1D34A
4 changed files with 25 additions and 1 deletions

View File

@ -128,5 +128,6 @@
</list>
</option>
</inspection_tool>
<inspection_tool class="Stylelint" enabled="true" level="ERROR" enabled_by_default="true" />
</profile>
</component>

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="StylelintConfiguration" allowJS="true" />
</project>

12
.stylelintrc.json Normal file
View File

@ -0,0 +1,12 @@
{
"extends": [
"stylelint-config-standard",
"stylelint-config-recommended-scss",
"stylelint-config-idiomatic-order"
],
"rules": {
"indentation": 4,
"selector-type-no-unknown": null,
"no-eol-whitespace": null
}
}

View File

@ -16,6 +16,13 @@
"eslint": "^7",
"eslint-config-airbnb-base": "^14",
"eslint-plugin-import": "^2",
"laravel-mix": "^6"
"laravel-mix": "^6",
"sass": "^1",
"sass-loader": "^12",
"stylelint": "^13",
"stylelint-config-idiomatic-order": "^8",
"stylelint-config-recommended-scss": "^4",
"stylelint-config-standard": "^22",
"stylelint-scss": "^3"
}
}