-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8d2f925
commit 67cf6db
Showing
16 changed files
with
162 additions
and
159 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
root: true | ||
extends: | ||
- plugin:@mysticatea/es2015 | ||
- plugin:@mysticatea/+eslint-plugin | ||
- plugin:@mysticatea/es2015 | ||
- plugin:@mysticatea/+eslint-plugin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
github: | ||
- mysticatea | ||
- mysticatea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,47 @@ | ||
name: CI | ||
on: | ||
push: | ||
branches: [master] | ||
pull_request: | ||
branches: [master] | ||
schedule: | ||
- cron: 0 0 * * 0 | ||
push: | ||
branches: [master] | ||
pull_request: | ||
branches: [master] | ||
schedule: | ||
- cron: 0 0 * * 0 | ||
|
||
jobs: | ||
test: | ||
name: Test | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
eslint: [6] | ||
node: [12.22.0, 12, 14.17.0, 14, 16, 18] | ||
include: | ||
# On other platforms | ||
- os: windows-latest | ||
node: 18 | ||
- os: macos-latest | ||
node: 18 | ||
# On the minimum supported ESLint/Node.js version | ||
- eslint: 6.6.0 | ||
node: 12.22.0 | ||
test: | ||
name: Test | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
eslint: [6] | ||
node: [12.22.0, 12, 14.17.0, 14, 16, 18] | ||
include: | ||
# On other platforms | ||
- os: windows-latest | ||
node: 18 | ||
- os: macos-latest | ||
node: 18 | ||
# On the minimum supported ESLint/Node.js version | ||
- eslint: 6.6.0 | ||
node: 12.22.0 | ||
|
||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Install Node.js ${{ matrix.node }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
- name: Install Packages | ||
run: npm install | ||
env: | ||
CI: true | ||
- name: Install ESLint@${{ matrix.eslint }} | ||
run: npm install eslint@${{ matrix.eslint }} | ||
- name: Test | ||
run: npm test | ||
- name: Send Coverage | ||
run: npm run -s codecov | ||
env: | ||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Install Node.js ${{ matrix.node }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
- name: Install Packages | ||
run: npm install | ||
env: | ||
CI: true | ||
- name: Install ESLint@${{ matrix.eslint }} | ||
run: npm install eslint@${{ matrix.eslint }} | ||
- name: Test | ||
run: npm test | ||
- name: Send Coverage | ||
run: npm run -s codecov | ||
env: | ||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
include: | ||
- lib | ||
- lib | ||
exclude: | ||
- lib/processors/vue.js | ||
- lib/processors/vue.js | ||
reporter: | ||
- text-summary | ||
- lcov | ||
- text-summary | ||
- lcov |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
module.exports = { | ||
tabWidth: 4, | ||
semi: false, | ||
trailingComma: "es5", | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.