File tree 11 files changed +20
-20
lines changed
11 files changed +20
-20
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import path from 'path';
2
2
import test from 'ava' ;
3
3
import expect from 'unexpected' ;
4
4
5
- import getConfiguration from '../../source/library /get-configuration' ;
5
+ import getConfiguration from './get-configuration' ;
6
6
7
7
const cwd = process . cwd ( ) ;
8
8
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import exists from 'path-exists';
10
10
import rimraf from 'rimraf' ;
11
11
import expect from 'unexpected' ;
12
12
13
- import getMessages from '../../source/library /get-messages' ;
13
+ import getMessages from './get-messages' ;
14
14
import pkg from '../../package' ;
15
15
16
16
const rm = denodeify ( rimraf ) ;
Original file line number Diff line number Diff line change 1
1
import test from 'ava' ;
2
- import parse from '../../source/ library/parse' ;
3
- import bodyEmpty from '../../source/rules /body-empty' ;
2
+ import parse from '../library/parse' ;
3
+ import bodyEmpty from './body-empty' ;
4
4
5
5
const messages = {
6
6
empty : 'chore: subject' ,
Original file line number Diff line number Diff line change 1
1
import test from 'ava' ;
2
- import parse from '../../source/ library/parse' ;
3
- import footerEmpty from '../../source/rules /footer-empty' ;
2
+ import parse from '../library/parse' ;
3
+ import footerEmpty from './footer-empty' ;
4
4
5
5
const messages = {
6
6
simple : 'chore: subject' ,
Original file line number Diff line number Diff line change 1
1
import test from 'ava' ;
2
- import parse from '../../source/ library/parse' ;
3
- import footerLeadingBlank from '../../source/rules /footer-leading-blank' ;
2
+ import parse from '../library/parse' ;
3
+ import footerLeadingBlank from './footer-leading-blank' ;
4
4
5
5
const messages = {
6
6
simple : 'chore: subject' ,
Original file line number Diff line number Diff line change 1
1
import test from 'ava' ;
2
- import parse from '../../source/ library/parse' ;
3
- import footerMaxLength from '../../source/rules /footer-max-length' ;
2
+ import parse from '../library/parse' ;
3
+ import footerMaxLength from './footer-max-length' ;
4
4
5
5
const short = 'BREAKING CHANGE: a' ;
6
6
const long = 'BREAKING CHANGE: ab' ;
Original file line number Diff line number Diff line change 1
1
import test from 'ava' ;
2
- import parse from '../../source/ library/parse' ;
3
- import footerMinLength from '../../source/rules /footer-min-length' ;
2
+ import parse from '../library/parse' ;
3
+ import footerMinLength from './footer-min-length' ;
4
4
5
5
const short = 'BREAKING CHANGE: a' ;
6
6
const long = 'BREAKING CHANGE: ab' ;
Original file line number Diff line number Diff line change 1
1
import test from 'ava' ;
2
- import parse from '../../source/ library/parse' ;
3
- import scopeEmpty from '../../source/rules /scope-empty' ;
2
+ import parse from '../library/parse' ;
3
+ import scopeEmpty from './scope-empty' ;
4
4
5
5
const messages = {
6
6
plain : 'foo(bar): baz' ,
Original file line number Diff line number Diff line change 1
1
import test from 'ava' ;
2
- import parse from '../../source/ library/parse' ;
3
- import scopeEnum from '../../source/rules /scope-enum' ;
2
+ import parse from '../library/parse' ;
3
+ import scopeEnum from './scope-enum' ;
4
4
5
5
const messages = {
6
6
plain : 'foo(bar): baz' ,
Original file line number Diff line number Diff line change 1
1
import test from 'ava' ;
2
- import parse from '../../source/ library/parse' ;
3
- import subjectEmpty from '../../source/rules /subject-empty' ;
2
+ import parse from '../library/parse' ;
3
+ import subjectEmpty from './subject-empty' ;
4
4
5
5
const messages = {
6
6
empty : 'chore: \nbody' ,
Original file line number Diff line number Diff line change 1
1
import test from 'ava' ;
2
- import parse from '../../source/ library/parse' ;
3
- import typeEmpty from '../../source/rules /type-empty' ;
2
+ import parse from '../library/parse' ;
3
+ import typeEmpty from './type-empty' ;
4
4
5
5
const messages = {
6
6
empty : '(scope):' ,
You can’t perform that action at this time.
0 commit comments