Created
April 21, 2019 18:59
-
-
Save Jimmydalecleveland/86973e48811f3008078a933fa4e8d2d2 to your computer and use it in GitHub Desktop.
Personal eslint starter
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
Show hidden characters
{ | |
"extends": ["airbnb", "plugin:prettier/recommended", "prettier/react"], | |
"env": { | |
"jest": true | |
}, | |
"rules": { | |
"no-plusplus": "off", | |
"jsx-a11y/anchor-is-valid": [ | |
"error", | |
{ | |
"components": ["Link"], | |
"specialLink": ["to", "hrefLeft", "hrefRight"], | |
"aspects": ["noHref", "invalidHref", "preferButton"] | |
} | |
], | |
"prettier/prettier": [ | |
"warn", | |
{ | |
"trailingComma": "es5", | |
"singleQuote": true, | |
"arrowParens": "always", | |
"printWidth": 120 | |
} | |
] | |
}, | |
"overrides": [ | |
{ | |
"files": ["**/__tests__/**"], | |
"settings": { | |
"import/resolver": { | |
"jest": { | |
"jestConfigFile": "./jest.config.js" | |
} | |
} | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment