Update eslint config for the new xo rules.

This commit is contained in:
XhmikosR 2019-03-30 17:36:54 +02:00
Родитель 0b12f61e3c
Коммит 105687ac4a
3 изменённых файлов: 13 добавлений и 3 удалений

Просмотреть файл

@ -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"
}
}

Просмотреть файл

@ -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"
}
}

Просмотреть файл

@ -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"
}
}