kupibilet-frontend / eslint-config-kupibilet

ESLint config for kupibilet.ru teams
https://github.com/kupibilet-frontend/eslint-config-kupibilet
3 stars 0 forks source link

Add rules for lodash imports #61

Closed loonywizard closed 5 years ago

loonywizard commented 5 years ago

https://github.com/wix/eslint-plugin-lodash/blob/master/docs/rules/import-scope.md

// Bad
import _ from 'lodash'
import { get } from 'lodash'

// Good
import get from 'lodash/get'