alias top-level imports

This commit is contained in:
Jake McDermott
2019-06-19 11:38:28 -04:00
parent ee56e9ccfb
commit 012852ec53
46 changed files with 357 additions and 202 deletions

View File

@@ -12,6 +12,11 @@
"airbnb"
],
"settings": {
'import/resolver': {
webpack: {
config: 'webpack.config.js'
}
},
"react": {
"version": "16.5.2"
}
@@ -28,7 +33,8 @@
"camelcase": "off",
"arrow-parens": "off",
"comma-dangle": "off",
"import/no-extraneous-dependencies": ["error", { "devDependencies": true }],
// https://github.com/benmosher/eslint-plugin-import/issues/479#issuecomment-252500896
"import/no-extraneous-dependencies": "off",
"indent": ["error", 2, {
"SwitchCase": 1
}],