File tree Expand file tree Collapse file tree 6 files changed +12
-10
lines changed Expand file tree Collapse file tree 6 files changed +12
-10
lines changed Original file line number Diff line number Diff line change 2828 - name : Run build
2929 run : pnpm run build
3030 - name : Lint source code
31- run : pnpm run lint --max-warnings=0
31+ run : pnpm run lint -- -- max-warnings=0
3232 - name : Run all tests
3333 run : pnpm run test:all
3434 - name : Sanity check standalone build
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ const buildRulesTable = (rows: Array<string>) => {
5959const buildHeader = ( filename : string ) : string => {
6060 const ruleName = filename . replace ( / \. m d $ / , "" ) ;
6161 if ( ! rules [ ruleName ] ) return " " ;
62- const meta : TSESLint . RuleMetaData < never > = rules [ ruleName ] . meta ;
62+ const meta : TSESLint . RuleMetaData < string , readonly unknown [ ] > = rules [ ruleName ] . meta ;
6363 return [
6464 `# solid/${ ruleName } ` ,
6565 meta . docs ?. description ,
Original file line number Diff line number Diff line change 1+ import { test , expect } from "vitest" ;
2+
13import path from "path" ;
24// @ts -expect-error Type definitions not updated to include FlatESLint
35import { ESLint as FlatESLint } from "eslint" ;
Original file line number Diff line number Diff line change 1+ import { test , expect } from "vitest" ;
2+
13import recommendedConfig from "eslint-plugin-solid/configs/recommended" ;
24import typescriptConfig from "eslint-plugin-solid/configs/typescript" ;
35import plugin from "eslint-plugin-solid" ;
Original file line number Diff line number Diff line change 1+ export default {
2+ test : {
3+ globals : true ,
4+ setupFiles : [ "vitest.setup.js" ] ,
5+ } ,
6+ } ;
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments