Created
May 22, 2019 15:57
-
-
Save epifanov-sergey/b03f5010b8be872136d968a00753c965 to your computer and use it in GitHub Desktop.
Eslint config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Dependency directory | |
node_modules/ | |
dist/ | |
.vscode | |
tests/__coverage__/ | |
.idea/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"extends": "airbnb", | |
"env": { | |
"browser": true | |
}, | |
"parser": "babel-eslint", | |
"parserOptions": { | |
"ecmaVersion": 8, | |
"sourceType": "module", | |
"ecmaFeatures": { | |
"jsx": true | |
} | |
}, | |
"rules": { | |
"no-console": 0, | |
"linebreak-style": 0, | |
"func-names": [ | |
"error", | |
"never" | |
], | |
"jsx-a11y/label-has-for": [ | |
2, | |
{ | |
"components": [ | |
"Label" | |
], | |
"required": { | |
"every": [ | |
"id" | |
] | |
}, | |
"allowChildren": false | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment