mirror of
https://github.com/Mibew/simple-icons.git
synced 2024-11-15 09:54:11 +03:00
74 lines
1.8 KiB
JSON
74 lines
1.8 KiB
JSON
{
|
|
"prettier": true,
|
|
"space": 2,
|
|
"plugins": ["import"],
|
|
"extends": ["plugin:jsdoc/recommended-error"],
|
|
"rules": {
|
|
"sort-imports": [
|
|
"error",
|
|
{
|
|
"ignoreCase": false,
|
|
"ignoreDeclarationSort": true,
|
|
"ignoreMemberSort": false,
|
|
"memberSyntaxSortOrder": ["none", "all", "multiple", "single"],
|
|
"allowSeparatedGroups": false
|
|
}
|
|
],
|
|
"import/no-named-as-default": "off",
|
|
"import/extensions": "off",
|
|
"import/order": [
|
|
"error",
|
|
{
|
|
"groups": ["builtin", "external", "parent", "sibling", "index"],
|
|
"alphabetize": {
|
|
"order": "asc",
|
|
"caseInsensitive": true
|
|
},
|
|
"warnOnUnassignedImports": true,
|
|
"newlines-between": "never"
|
|
}
|
|
],
|
|
"no-console": ["error", {"allow": ["warn", "error"]}],
|
|
"no-warning-comments": [
|
|
"warn",
|
|
{
|
|
"terms": ["fixme", "xxx"]
|
|
}
|
|
],
|
|
"jsdoc/require-file-overview": "error",
|
|
"jsdoc/require-description": "error",
|
|
"jsdoc/no-bad-blocks": "error",
|
|
"jsdoc/no-blank-blocks": "error",
|
|
"jsdoc/no-blank-block-descriptions": "error",
|
|
"jsdoc/check-syntax": "error",
|
|
"jsdoc/require-asterisk-prefix": "error",
|
|
"jsdoc/require-description-complete-sentence": "error",
|
|
"jsdoc/require-hyphen-before-param-description": ["error", "never"]
|
|
},
|
|
"overrides": [
|
|
{
|
|
"files": ["sdk.mjs", "sdk.d.ts"],
|
|
"nodeVersion": ">=14.13.1",
|
|
"rules": {
|
|
"eslint-comments/disable-enable-pair": "off",
|
|
"unicorn/no-abusive-eslint-disable": "off"
|
|
}
|
|
},
|
|
{
|
|
"files": [
|
|
"scripts/**/*",
|
|
"tests/**/*",
|
|
"svglint.config.mjs",
|
|
"svgo.config.mjs"
|
|
],
|
|
"nodeVersion": ">=18"
|
|
},
|
|
{
|
|
"files": ["svglint.config.mjs"],
|
|
"rules": {
|
|
"max-depth": "off"
|
|
}
|
|
}
|
|
]
|
|
}
|