-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: support eslint9 and flat config * chore: format * fix: test * chore: set work dirs * fix: work dir * fix: --force * chore: list all packages * chore release v0.8.0
- Loading branch information
Showing
12 changed files
with
139 additions
and
19 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
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 |
---|---|---|
|
@@ -2,6 +2,8 @@ | |
.idea/ | ||
.vscode/ | ||
|
||
node_modules | ||
.DS_Store | ||
website | ||
docs | ||
tools | ||
|
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
node_modules | ||
.DS_Store | ||
package-lock.json |
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,17 @@ | ||
import wxml from "eslint-plugin-wxml"; | ||
import wxmlParser from "@wxml/parser"; | ||
|
||
export default [ | ||
{ | ||
files: ["**/*.wxml"], | ||
plugins: { | ||
wxml: wxml, | ||
}, | ||
languageOptions: { | ||
parser: wxmlParser, | ||
}, | ||
rules: { | ||
"wxml/colon-style-event-binding": "error", | ||
}, | ||
}, | ||
]; |
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,18 @@ | ||
{ | ||
"name": "flat-config-compat", | ||
"version": "1.0.0", | ||
"description": "tests for eslint's flat config", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "eslint ." | ||
}, | ||
"keywords": [ | ||
"wxml" | ||
], | ||
"author": "[email protected]", | ||
"license": "MIT", | ||
"dependencies": { | ||
"eslint": "^9.0.0", | ||
"eslint-plugin-wxml": "^0.8.0" | ||
} | ||
} |
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,13 @@ | ||
<!-- ✓ GOOD --> | ||
<view bind:tap="clickhandler" /> | ||
<view mut-bind:tap="clickhandler" /> | ||
<view catch:tap="clickhandler" /> | ||
<view capture-catch:tap="clickhandler" /> | ||
<view capture-bind:tap="clickhandler" /> | ||
|
||
<!-- ✗ BAD --> | ||
<view bindtap="clickhandler" /> | ||
<view mut-bindtap="clickhandler" /> | ||
<view catchtap="clickhandler" /> | ||
<view capture-catchtap="clickhandler" /> | ||
<view capture-bindtap="clickhandler" /> | ||
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