mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-30 20:43:42 +03:00
db7f500ba0
Use Reflect.metadate decorator instead of Class.parameters Add fallback old syntax of flexbox Other minor styling fixes
33 lines
783 B
Plaintext
33 lines
783 B
Plaintext
{
|
|
"parser": "babel-eslint",
|
|
"extends": "eslint:recommended",
|
|
"env": {
|
|
"browser": true,
|
|
"jasmine": true
|
|
},
|
|
// currently eslint doesn't support extension-typed configs
|
|
"globals": {
|
|
"should": true,
|
|
"expect": true,
|
|
"sinon": true,
|
|
"Reflect": true
|
|
},
|
|
"rules": {
|
|
"quotes": [2, "single"],
|
|
"no-console": 0,
|
|
"comma-spacing": 2,
|
|
"comma-style": [2, "last"],
|
|
"consistent-return": 2,
|
|
"strict": [2, "global"],
|
|
"eqeqeq": [2, "smart"],
|
|
"curly": [2, "multi-line"],
|
|
"semi-spacing": [2, {"before": false, "after": true}],
|
|
"semi": [2, "always"],
|
|
"no-extra-semi": 2,
|
|
"comma-dangle": [2, "never"],
|
|
"no-sequences": 2,
|
|
"comma-spacing": [2, {"before": false, "after": true}],
|
|
"comma-style": [2, "last"]
|
|
}
|
|
}
|