Skip to content

Commit

Permalink
adjusted group names for easier read in lint warnings
Browse files Browse the repository at this point in the history
"Imports from this module are not allowed in this group.  The expected groups (in order) are: built-in node modules, dependencies, aliased paths (which begin with tilde [~] in our convention), absolute imports, parent directories, current directory."
  • Loading branch information
falkenhawk committed Sep 13, 2019
1 parent a0dc65b commit 1ddca97
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ovos-media/coding-standard",
"version": "1.3.0",
"version": "1.3.1",
"description": "ovos-media Coding Standard",
"main": "index.js",
"types": "index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions tslint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ if (fs.existsSync(projectPackageJson)) {

const importGroups = [
{
name: 'aliased paths, which begin with tilde in our convention',
name: 'aliased paths (which begin with tilde [~] in our convention)',
match: '^~',
order: 30,
},
Expand All @@ -60,7 +60,7 @@ const importGroups = [
order: 20,
},
{
name: 'the rest, incl. typescript absolute imports',
name: 'absolute imports',
match: '\\.*',
order: 40,
},
Expand Down

0 comments on commit 1ddca97

Please sign in to comment.