kopia lustrzana https://github.com/wagtail/wagtail
26 wiersze
847 B
Plaintext
26 wiersze
847 B
Plaintext
{
|
|
"extends": "airbnb",
|
|
|
|
"rules": {
|
|
"indent": [2, 2],
|
|
"max-len": [1, 120, 4, {"ignoreUrls": true}],
|
|
"id-length": [1, {"min": 2, "exceptions": ["x", "y", "e", "i", "j", "k", "d", "n", "_", "$"]}],
|
|
"object-shorthand": [2, "methods"],
|
|
"no-new": [1],
|
|
"comma-dangle": [0],
|
|
"no-multi-spaces": [0],
|
|
"prefer-template": [0],
|
|
"no-var": [0],
|
|
"prefer-arrow-callback": [1],
|
|
"no-undef": [1],
|
|
"no-unused-vars": [1],
|
|
"no-warning-comments": [1, { "terms": ["todo", "fixme", "xxx"], "location": "start" }],
|
|
"react/sort-comp": [0],
|
|
"react/jsx-boolean-value": [0],
|
|
"react/jsx-no-bind": [0],
|
|
"react/prefer-es6-class": [0, 'never'],
|
|
"react/jsx-indent-props": [2, 4],
|
|
"jsx-quotes": [1, "prefer-double"]
|
|
}
|
|
}
|