Skip to content

Commit

Permalink
add more group namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Brianzchen committed Jan 28, 2022
1 parent 5f8dc51 commit ddef8f4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ module.exports = {
'ft-flow/semi': [2, 'always'],
'ft-flow/interface-id-match': ['error', '^_?([A-Z][A-Za-z0-9$]*I)$'],
'ft-flow/type-id-match': ['error', '^_?([A-Z][A-Za-z0-9$]*T|Props)$'],
// Turn off for now because of enums until it's fixed.
// Flow basically does this checking for us anyways
'import/named': 0,
'import/no-extraneous-dependencies': ['error', { devDependencies: true }],
// Rule incompatible with flowtype's type imports
// eg: import type { Blah } from 'blah'; module.exports = {};
Expand All @@ -57,7 +60,7 @@ module.exports = {
groups: [['builtin', 'external'], 'internal', ['parent', 'sibling', 'index']],
pathGroups: [
{
pattern: '@tabdigital/**',
pattern: '{@tabdigital,@hometale}/**',
group: 'internal',
position: 'before',
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "eslint-config-bzc",
"description": "Eslint Config for my personal and professional projects",
"version": "1.0.8",
"version": "1.0.9",
"main": "index.js",
"repository": "[email protected]:Brianzchen/eslint-config-bzc.git",
"author": "Brian Chen",
Expand Down

0 comments on commit ddef8f4

Please sign in to comment.