Skip to content

Commit

Permalink
feat(package): update eslint-config-ybiquitous to version 4.2.1 (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
ybiquitous committed Dec 22, 2017
1 parent f1c8979 commit 059a7e1
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 12 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@commitlint/cli": "^5.2.6",
"@commitlint/config-conventional": "^5.2.3",
"eslint": "^4.13.1",
"eslint-config-ybiquitous": "^4.0.0",
"eslint-config-ybiquitous": "^4.2.1",
"fs-extra": "^5.0.0",
"husky": "^0.14.3",
"lint-staged": "^6.0.0",
Expand Down
4 changes: 2 additions & 2 deletions src/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class Init {
`module.exports = {
root: true,
extends: ['ybiquitous'],
}`,
}`
)
}

Expand All @@ -81,7 +81,7 @@ class Init {
'commitlint.config.js',
`module.exports = {
extends: ['@commitlint/config-conventional'],
}`,
}`
)
}
}
Expand Down
8 changes: 4 additions & 4 deletions test/init.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ suite('init', () => {

const original = await fs.readFile(
path.join(originalDir, '.editorconfig'),
'utf8',
'utf8'
)
const copy = await fs.readFile(path.join(workDir, '.editorconfig'), 'utf8')
assert(original === copy)
Expand All @@ -95,7 +95,7 @@ suite('init', () => {
root: true,
extends: ['ybiquitous'],
}
`,
`
)
})

Expand All @@ -104,14 +104,14 @@ suite('init', () => {

const wrote = await fs.readFile(
path.join(workDir, 'commitlint.config.js'),
'utf8',
'utf8'
)
assert(
wrote ===
`module.exports = {
extends: ['@commitlint/config-conventional'],
}
`,
`
)
})

Expand Down
24 changes: 19 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1472,16 +1472,17 @@ eslint-config-prettier@^2.9.0:
dependencies:
get-stdin "^5.0.1"

eslint-config-ybiquitous@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/eslint-config-ybiquitous/-/eslint-config-ybiquitous-4.0.0.tgz#d55c93bd91ce87ceaed4b12f1bd30dbe7444f1ab"
eslint-config-ybiquitous@^4.2.1:
version "4.2.1"
resolved "https://registry.yarnpkg.com/eslint-config-ybiquitous/-/eslint-config-ybiquitous-4.2.1.tgz#b86df8fbfab83e260c28e215b5a9d1df245796f8"
dependencies:
eslint-config-airbnb "^16.0.0"
eslint-config-prettier "^2.9.0"
eslint-plugin-compat "^2.0.1"
eslint-plugin-eslint-comments "^2.0.1"
eslint-plugin-import "^2.7.0"
eslint-plugin-jsx-a11y "^6.0.2"
eslint-plugin-node "^5.2.1"
eslint-plugin-prettier "^2.3.1"
eslint-plugin-react "^7.4.0"

Expand Down Expand Up @@ -1542,6 +1543,15 @@ eslint-plugin-jsx-a11y@^6.0.2:
emoji-regex "^6.1.0"
jsx-ast-utils "^1.4.0"

eslint-plugin-node@^5.2.1:
version "5.2.1"
resolved "https://registry.yarnpkg.com/eslint-plugin-node/-/eslint-plugin-node-5.2.1.tgz#80df3253c4d7901045ec87fa660a284e32bdca29"
dependencies:
ignore "^3.3.6"
minimatch "^3.0.4"
resolve "^1.3.3"
semver "5.3.0"

eslint-plugin-prettier@^2.3.1:
version "2.3.1"
resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-2.3.1.tgz#e7a746c67e716f335274b88295a9ead9f544e44d"
Expand Down Expand Up @@ -2152,7 +2162,7 @@ iconv-lite@^0.4.17, iconv-lite@~0.4.13:
version "0.4.19"
resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.19.tgz#f7468f60135f5e5dad3399c0a81be9a1603a082b"

ignore@^3.3.3, ignore@^3.3.7:
ignore@^3.3.3, ignore@^3.3.6, ignore@^3.3.7:
version "3.3.7"
resolved "https://registry.yarnpkg.com/ignore/-/ignore-3.3.7.tgz#612289bfb3c220e186a58118618d5be8c1bab021"

Expand Down Expand Up @@ -3624,7 +3634,7 @@ resolve-global@^0.1.0:
dependencies:
global-dirs "^0.1.0"

resolve@^1.2.0:
resolve@^1.2.0, resolve@^1.3.3:
version "1.5.0"
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.5.0.tgz#1f09acce796c9a762579f31b2c1cc4c3cddf9f36"
dependencies:
Expand Down Expand Up @@ -3686,6 +3696,10 @@ safe-buffer@^5.0.1, safe-buffer@~5.1.0, safe-buffer@~5.1.1:
version "5.4.1"
resolved "https://registry.yarnpkg.com/semver/-/semver-5.4.1.tgz#e059c09d8571f0540823733433505d3a2f00b18e"

semver@5.3.0:
version "5.3.0"
resolved "https://registry.yarnpkg.com/semver/-/semver-5.3.0.tgz#9b2ce5d3de02d17c6012ad326aa6b4d0cf54f94f"

set-blocking@^2.0.0, set-blocking@~2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7"
Expand Down

0 comments on commit 059a7e1

Please sign in to comment.