Update eslint config for the new xo rules.

This commit is contained in:
XhmikosR 2019-03-30 17:36:54 +02:00
parent 0b12f61e3c
commit 105687ac4a
3 changed files with 13 additions and 3 deletions

View File

@ -47,7 +47,11 @@
"unicorn/filename-case": "off",
"unicorn/import-index": "off",
"unicorn/no-unused-properties": "error",
"unicorn/prefer-includes": "off",
"unicorn/prefer-node-append": "off",
"unicorn/prefer-query-selector": "off"
"unicorn/prefer-node-remove": "off",
"unicorn/prefer-query-selector": "off",
"unicorn/prefer-text-content": "off",
"unicorn/prevent-abbreviations": "off"
}
}

View File

@ -54,7 +54,10 @@
"strict": "error",
"unicorn/filename-case": "off",
"unicorn/no-unused-properties": "error",
"unicorn/prefer-includes": "off",
"unicorn/prefer-node-append": "off",
"unicorn/prefer-query-selector": "off"
"unicorn/prefer-node-remove": "off",
"unicorn/prefer-query-selector": "off",
"unicorn/prevent-abbreviations": "off"
}
}

View File

@ -32,6 +32,9 @@
"never"
],
"strict": "error",
"unicorn/prefer-query-selector": "off"
"unicorn/prefer-includes": "off",
"unicorn/prefer-node-append": "off",
"unicorn/prefer-query-selector": "off",
"unicorn/prevent-abbreviations": "off"
}
}