aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/twbs/bootstrap/site/.eslintrc.json
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-10-10 18:05:26 +0000
committerMario <mario@mariovavti.com>2022-10-10 18:05:26 +0000
commitef2448e17e742e7dcef458993bce1e0a29756aa7 (patch)
treed23c62753abbb42e7bb742f2d44d09321b6f2eee /vendor/twbs/bootstrap/site/.eslintrc.json
parent6ab65519a0fc3e55ad5f32ce1641190ef609a4e2 (diff)
parent99a5cf1ad4660a31af6c03e5a1abc3d374f82c78 (diff)
downloadvolse-hubzilla-ef2448e17e742e7dcef458993bce1e0a29756aa7.tar.gz
volse-hubzilla-ef2448e17e742e7dcef458993bce1e0a29756aa7.tar.bz2
volse-hubzilla-ef2448e17e742e7dcef458993bce1e0a29756aa7.zip
Merge branch '7.8RC'7.8
Diffstat (limited to 'vendor/twbs/bootstrap/site/.eslintrc.json')
-rw-r--r--vendor/twbs/bootstrap/site/.eslintrc.json94
1 files changed, 43 insertions, 51 deletions
diff --git a/vendor/twbs/bootstrap/site/.eslintrc.json b/vendor/twbs/bootstrap/site/.eslintrc.json
index 0660ebbaf..7cca4bc20 100644
--- a/vendor/twbs/bootstrap/site/.eslintrc.json
+++ b/vendor/twbs/bootstrap/site/.eslintrc.json
@@ -1,61 +1,53 @@
{
- "root": true,
+ "env": {
+ "browser": true,
+ "node": false
+ },
+ "plugins": [
+ "markdown"
+ ],
+ "overrides": [
+ {
+ // 2. Enable the Markdown processor for all .md files.
+ "files": ["./**/*.md"],
+ "processor": "markdown/markdown"
+ },
+ {
+ // In v2, configuration for fenced code blocks is separate from the
+ // containing Markdown file. Each code block has a virtual filename
+ // appended to the Markdown file's path.
+ "files": [
+ "./**/*.md/*.js"
+ ],
+ // Configuration for fenced code blocks goes with the override for
+ // the code block's virtual filename, for example:
+ "parserOptions": {
+ "ecmaFeatures": {
+ "impliedStrict": true
+ }
+ },
+ "rules": {
+ "no-array-for-each": "off",
+ "no-undef": "off",
+ "no-unused-vars": "off",
+ "unicorn/no-array-for-each": "off",
+ "unicorn/numeric-separators-style": "off",
+ "no-unused-expressions": "off",
+ "no-unused-labels": "off",
+ "no-labels": "off",
+ "no-redeclare": "off"
+ }
+ }
+ ],
"parserOptions": {
- "ecmaVersion": 5,
"sourceType": "script"
},
- "extends": [
- "plugin:unicorn/recommended",
- "xo",
- "xo/browser"
- ],
+ "extends": "../.eslintrc.json",
"rules": {
- "arrow-body-style": "off",
- "capitalized-comments": "off",
- "comma-dangle": [
- "error",
- "never"
- ],
- "indent": [
- "error",
- 2,
- {
- "MemberExpression": "off",
- "SwitchCase": 1
- }
- ],
- "multiline-ternary": [
- "error",
- "always-multiline"
- ],
"no-new": "off",
- "no-var": "off",
- "object-curly-spacing": [
- "error",
- "always"
- ],
- "object-shorthand": "off",
- "operator-linebreak": [
- "error",
- "after"
- ],
- "prefer-arrow-callback": "off",
- "prefer-destructuring": "off",
- "semi": [
- "error",
- "never"
- ],
+ "prefer-template": "error",
"strict": "error",
"unicorn/no-array-for-each": "off",
- "unicorn/no-array-method-this-argument": "off",
- "unicorn/no-for-loop": "off",
- "unicorn/no-null": "off",
- "unicorn/numeric-separators-style": "off",
- "unicorn/prefer-array-flat": "off",
- "unicorn/prefer-dom-node-dataset": "off",
- "unicorn/prefer-module": "off",
- "unicorn/prefer-prototype-methods": "off",
- "unicorn/prefer-query-selector": "off",
- "unicorn/prevent-abbreviations": "off"
+ "unicorn/numeric-separators-style": "off"
}
}