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:
+5
-1
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
+4
-1
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user