Skip to content

Commit

Permalink
feat: Update deps, drop Node 6 support
Browse files Browse the repository at this point in the history
BREAKING CHANGE:

- Node 6 is no longer supported, Node 8.9 is the earliest supported version
  • Loading branch information
sapegin committed Jan 14, 2020
1 parent 882d402 commit 69a815f
Show file tree
Hide file tree
Showing 4 changed files with 3,547 additions and 2,830 deletions.
8 changes: 3 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,11 @@ cache:
directories:
- node_modules
node_js:
- 6
- 8
- 10
- 12
after_success:
- npm install -g semantic-release
- npm install --no-save semantic-release-tamia
- semantic-release --analyze-commits semantic-release-tamia/analyzeCommits --verify-release
semantic-release-tamia/verifyRelease --generate-notes semantic-release-tamia/generateNotes
- npx semantic-release
branches:
except:
- /^v\d+\.\d+\.\d+$/
7 changes: 6 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,12 @@ function reporter(context, options = {}) {
const { Syntax, RuleError, report, fixer, getSource } = context;
return {
[Syntax.Str](node) {
if (helper.isChildNode(node, opts.skip.map(rule => Syntax[rule]))) {
if (
helper.isChildNode(
node,
opts.skip.map(rule => Syntax[rule])
)
) {
return false;
}

Expand Down
Loading

0 comments on commit 69a815f

Please sign in to comment.