Skip to content

Commit 1ddca97

Browse files
committed
adjusted group names for easier read in lint warnings
"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."
1 parent a0dc65b commit 1ddca97

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ovos-media/coding-standard",
3-
"version": "1.3.0",
3+
"version": "1.3.1",
44
"description": "ovos-media Coding Standard",
55
"main": "index.js",
66
"types": "index.d.ts",

tslint.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ if (fs.existsSync(projectPackageJson)) {
3535

3636
const importGroups = [
3737
{
38-
name: 'aliased paths, which begin with tilde in our convention',
38+
name: 'aliased paths (which begin with tilde [~] in our convention)',
3939
match: '^~',
4040
order: 30,
4141
},
@@ -60,7 +60,7 @@ const importGroups = [
6060
order: 20,
6161
},
6262
{
63-
name: 'the rest, incl. typescript absolute imports',
63+
name: 'absolute imports',
6464
match: '\\.*',
6565
order: 40,
6666
},

0 commit comments

Comments
 (0)