@guildeducationinc/eslint-config-guild-typescript
v1.2.1
Published
Guild Education React + TypeScript style guide.
Maintainers
Keywords
Readme
Guild Eslint Config
At Guild, our JavaScript style is based on JavaScript Standard Style with a few exceptions:
In addition to JavaScript Standard Style, we also extend:
plugin:@typescript-eslint/recommendedplugin:jsx-a11y/recommendedplugin:react/recommendedplugin:jest/recommendedplugin:testing-library/reactplugin:react-hooks/recommendedplugin:prettier/recommended
Install Config 
To install the typescript config, run:
yarn add -D @guildeducationinc/eslint-config-guild-typescriptInstall the peer dependencies
yarn add @typescript-eslint/[email protected] @typescript-eslint/[email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] -DUsage
Extend your eslint config with the installed guild config.
For typescript:
{
"extends": "@guildeducationinc/eslint-config-guild-typescript"
}Code Climate Usage
In your projects .codeclimate.yml config, add the appropriate config:
prepare:
fetch:
# For typescript
+ - url: 'https://cdn.jsdelivr.net/npm/@guildeducationinc/eslint-config-guild-typescript@{version}'
+ path: '.eslintrc.js'
plugins:
+ eslint:
+ enabled: true
+ channel: eslint-5