forked from davidpolaniaac/azure-company-extension
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
executable file
·34 lines (34 loc) · 871 Bytes
/
.eslintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
"extends": "airbnb",
"parser": "babel-eslint",
"plugins": [
"react"
],
"env": {
"browser": true,
"node": true,
"mocha": true,
"es6": true
},
"rules": {
"jsx-a11y/anchor-is-valid": [ "error", {
"components": [ "Link" ],
"specialLink": [ "to", "hrefLeft", "hrefRight" ],
"aspects": [ "noHref", "invalidHref", "preferButton" ]
}],
"max-len": ["error", {"code": 140, "ignoreRegExpLiterals": true, "tabWidth": 2}],
"no-console": [1],
"linebreak-style": "off",
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"tslint.exclude": ["**/*.js", "**/*.jsx"],
"import/prefer-default-export": 0,
"react/require-default-props": "off"
},
"settings": {
"import/resolver": {
"node": {
"paths": ["src"]
}
}
}
}