Skip to content

Commit

Permalink
Update for esm
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkGriffiths committed Nov 3, 2021
1 parent b39427b commit 4f46bc6
Show file tree
Hide file tree
Showing 703 changed files with 46,952 additions and 21,393 deletions.
7 changes: 4 additions & 3 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ engines:
- javascript
eslint:
enabled: true
checks:
comma-dangle:
enabled: false
config:
config: test/fixtures/config/.eslintrc
fixme:
Expand All @@ -17,10 +20,8 @@ ratings:
exclude_paths:
- test/
- docs/
- bin/
- media/
- scripts/
- index.js
- index.mjs
- gulpfile.js
- index.d.ts

4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/coverage
/node_modules
*.sublime-project
*.sublime-workspace
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ branches:
language: node_js
node_js:
- stable
- 12
- 10
- "--lts"
env:
global:
- CC_TEST_REPORTER_ID=ba42fc27c58fe141f19793fa5acb42d4d229da491a4c7a1568ba50a69a009e1f
Expand All @@ -20,7 +19,7 @@ before_script:
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
after_script:
- "[ $TRAVIS_NODE_VERSION = stable ] && nyc report --reporter=lcov && ./cc-test-reporter
- "[ $TRAVIS_NODE_VERSION = stable ] && c8 report --reporter=lcov --reporter=text && ./cc-test-reporter
after-build --debug -t lcov --exit-code $TRAVIS_TEST_RESULT || echo 'Coverage skipped'"
notifications:
slack:
Expand Down
5 changes: 5 additions & 0 deletions ava.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
const config = {
files: ['test/*.js'],
}

export default config
Loading

0 comments on commit 4f46bc6

Please sign in to comment.