2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-15 11:59:39 +03:00

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
+5 -1
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"
}
}
+4 -1
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"
}
}
+4 -1
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"
}
}