Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 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
5 changes: 5 additions & 0 deletions .changeset/afraid-apples-hunt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"eslint-plugin-vue-scoped-css": minor
---

feat(TS): add types so that rules can be used in TS eslint.config files
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"name": "eslint-plugin-vue-scoped-css",
"version": "2.9.0",
"version": "2.9.1",
"description": "ESLint plugin for Scoped CSS in Vue.js",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"prebuild": "npm run -s clean",
"build": "tsc --project ./tsconfig.build.json",
Expand Down Expand Up @@ -49,7 +50,8 @@
"css"
],
"files": [
"dist"
"dist",
"dist/index.d.ts"
],
"devDependencies": {
"@changesets/cli": "^2.27.5",
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"extends": "./tsconfig.json",
"exclude": ["tests/**/*", "tools/**/*"],
"compilerOptions": {
"removeComments": true /* Do not emit comments to output. */
"removeComments": true, /* Do not emit comments to output. */

Check failure on line 5 in tsconfig.build.json

View workflow job for this annotation

GitHub Actions / lint

Replace `,·/*·Do·not·emit·comments·to·output.·*/` with `·/*·Do·not·emit·comments·to·output.·*/,`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you fix the formatting issue?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let me try from linux

"declaration": true
}
}
Loading