1
0
mirror of https://github.com/simple-icons/simple-icons.git synced 2024-11-16 00:59:07 +02:00
simple-icons/.xo-config.json

60 lines
1.4 KiB
JSON
Raw Normal View History

2024-03-24 19:38:18 +02:00
{
"prettier": true,
"space": 2,
"plugins": ["import"],
2024-06-06 14:40:35 +02:00
"extends": ["plugin:jsdoc/recommended"],
2024-03-24 19:38:18 +02:00
"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"
}
2024-05-02 22:54:43 +02:00
],
2024-06-06 14:40:35 +02:00
"no-console": ["error", {"allow": ["warn", "error"]}],
"jsdoc/require-file-overview": "error"
2024-03-24 19:38:18 +02:00
},
"overrides": [
{
"files": ["sdk.mjs", "sdk.d.ts"],
"nodeVersion": ">=14",
"rules": {
"eslint-comments/disable-enable-pair": "off",
"unicorn/no-abusive-eslint-disable": "off"
}
2024-03-24 19:38:18 +02:00
},
{
"files": [
"scripts/**/*",
"tests/**/*",
"svglint.config.mjs",
"svgo.config.mjs"
],
"nodeVersion": ">=18"
2024-06-06 14:40:35 +02:00
},
{
"files": ["svglint.config.mjs"],
"rules": {
"max-depth": "off"
}
2024-03-24 19:38:18 +02:00
}
]
}