-
-
Notifications
You must be signed in to change notification settings - Fork 639
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More deps, move tooling config out of package.json
- Loading branch information
Showing
4 changed files
with
47 additions
and
64 deletions.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
packages/generator-volto/generators/app/templates/.browserslistrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"browserslist": [ | ||
">1%", | ||
"last 4 versions", | ||
"Firefox ESR", | ||
"not ie 11", | ||
"not dead" | ||
] | ||
} |
12 changes: 12 additions & 0 deletions
12
packages/generator-volto/generators/app/templates/.prettierrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"trailingComma": "all", | ||
"singleQuote": true, | ||
"overrides": [ | ||
{ | ||
"files": "*.overrides", | ||
"options": { | ||
"parser": "less" | ||
} | ||
} | ||
] | ||
} |
23 changes: 23 additions & 0 deletions
23
packages/generator-volto/generators/app/templates/.stylelintrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"extends": ["stylelint-config-idiomatic-order"], | ||
"plugins": ["stylelint-prettier"], | ||
"overrides": [ | ||
{ | ||
"files": ["**/*.less"], | ||
"customSyntax": "postcss-less" | ||
}, | ||
{ | ||
"files": ["**/*.overrides"], | ||
"customSyntax": "postcss-less" | ||
}, | ||
{ | ||
"files": ["**/*.scss"], | ||
"customSyntax": "postcss-scss" | ||
} | ||
], | ||
"rules": { | ||
"prettier/prettier": true, | ||
"order/properties-alphabetical-order": null | ||
}, | ||
"ignoreFiles": "theme/themes/default/**/*.overrides" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters