Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions .babelrc

This file was deleted.

6 changes: 3 additions & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"extends": [
"plugin:github/es6",
"plugin:github/recommended",
"plugin:github/browser",
"plugin:github/flow"
"plugin:github/typescript"
],
"parser": "babel-eslint"
"overrides": [{"files": "**/*.js", "parser": "espree", "parserOptions": {"ecmaVersion": 8}}]
}
9 changes: 0 additions & 9 deletions .flowconfig

This file was deleted.

20 changes: 10 additions & 10 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
name: Node CI

on:
pull_request:
branches:
- master
on: [push]
jobs:
build:

runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
node-version: [10.x, 12.x]
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
- name: Set git to not change EoL
run: |
git config --global core.autocrlf false
- uses: actions/checkout@v2
- name: Use Node.js 12.x
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
node-version: 12.x
- name: npm install, build, and test
run: |
npm install
Expand Down
9 changes: 0 additions & 9 deletions .travis.yml

This file was deleted.

1 change: 1 addition & 0 deletions CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @github/web-systems-reviewers
7 changes: 0 additions & 7 deletions check-all.js.flow

This file was deleted.

13 changes: 4 additions & 9 deletions examples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,10 @@
<label><input type="checkbox" data-check-all-item> github/eventlistener-polyfill</label>
<label><input type="checkbox" data-check-all-item> github/quote-selection</label>
</div>
<!-- GitHub Pages demo -->
<script type="text/javascript" src="https://unpkg.com/@github/check-all@latest"></script>
<script type="text/javascript">
checkAll.default(document.querySelector('[data-check-all-container]'))
</script>
<!-- Uncomment to test in development -->
<!--<script type="module">
import checkAll from '../dist/check-all.js'
<script type="module">
// import checkAll from '../dist/index.js'
import checkAll from 'https://unpkg.com/@github/check-all@latest?module'
checkAll(document.querySelector('[data-check-all-container]'))
</script>-->
</script>
</body>
</html>
5 changes: 0 additions & 5 deletions index.d.ts

This file was deleted.

2 changes: 1 addition & 1 deletion test/karma.config.js → karma.config.cjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = function (config) {
config.set({
frameworks: ['mocha', 'chai'],
files: ['../dist/check-all.umd.js', 'test.js'],
files: [{pattern: 'dist/index.js', type: 'module'}, {pattern: 'test/test.js', type: 'module'}],
reporters: ['mocha'],
port: 9876,
colors: true,
Expand Down
Loading