Skip to content

Commit

Permalink
Update XO configrations
Browse files Browse the repository at this point in the history
  • Loading branch information
LitoMore committed Apr 26, 2024
1 parent d9cfcd6 commit 7e84ad2
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .xo-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
"space": 2,
"plugins": ["import"],
"rules": {
"n/no-unsupported-features": "off",
"n/no-unsupported-features/node-builtins": "off",
"n/file-extension-in-import": "off",
"sort-imports": [
"error",
{
Expand All @@ -29,7 +26,8 @@
"warnOnUnassignedImports": true,
"newlines-between": "never"
}
]
],
"no-console": ["error", {"allow": ["warn", "error"]}]
},
"overrides": [
{
Expand All @@ -48,6 +46,16 @@
"svgo.config.mjs"
],
"nodeVersion": ">=18"
},
{
"files": [
"scripts/add-icon-data.js",
"scripts/get-filename.js",
"scripts/release/update-sdk-ts-defs.js"
],
"rules": {
"no-console": "off"
}
}
]
}

0 comments on commit 7e84ad2

Please sign in to comment.