Skip to content

Commit

Permalink
chore: test dprint config
Browse files Browse the repository at this point in the history
  • Loading branch information
pnodet committed Sep 3, 2024
1 parent 1ea15a4 commit daccece
Show file tree
Hide file tree
Showing 46 changed files with 5,172 additions and 4,645 deletions.
2 changes: 0 additions & 2 deletions .gitattributes

This file was deleted.

87 changes: 0 additions & 87 deletions .gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions .npmrc

This file was deleted.

77 changes: 0 additions & 77 deletions CODE_OF_CONDUCT.md

This file was deleted.

20 changes: 0 additions & 20 deletions LICENSE

This file was deleted.

1 change: 0 additions & 1 deletion README.md

This file was deleted.

11 changes: 6 additions & 5 deletions eslint.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { nivalis } from './src';
import { nivalis } from './src/factory';

export default nivalis(
{ typescript: { configPath: './tsconfig.json' } },
{ ignores: ['src/typegen.d.ts'] },
);
export default nivalis({
format: {
formatter: 'prettier',
},
});
70 changes: 35 additions & 35 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,57 +34,57 @@
"access": "public"
},
"scripts": {
"build": "pnpm run typegen && pnpm tsup --format esm,cjs --clean --dts",
"dev": "pnpm dlx @eslint/config-inspector --config eslint.config.ts",
"lint": "eslint . --flag unstable_ts_config",
"lint:fix": "eslint . --fix --flag unstable_ts_config",
"prepublishOnly": "pnpm run build",
"typegen": "pnpm dlx tsx@latest ./scripts/typegen.ts",
"prepack": "pnpm run build",
"ts": "tsc --noEmit"
"build": "unbuild",
"prepublishOnly": "unbuild",
"prepack": "unbuild",
"ts": "tsc --noEmit"
},
"peerDependencies": {
"eslint": ">=9.7.0",
"prettier": "3.3.3"
"eslint": ">=9.7.0"
},
"prettier": "@nivalis/prettier-config",

"dependencies": {
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.0",
"@next/eslint-plugin-next": "15.0.0-canary.130",
"@stylistic/eslint-plugin": "^2.6.4",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import-x": "4.0.0",
"@dprint/formatter": "0.4.1",
"@dprint/typescript": "0.91.7",
"@eslint-community/eslint-plugin-eslint-comments": "4.4.0",
"@next/eslint-plugin-next": "14.2.7",
"@stylistic/eslint-plugin": "2.7.2",
"@typescript-eslint/parser": "8.4.0",
"@typescript-eslint/utils": "8.4.0",
"eslint-flat-config-utils": "0.3.1",
"eslint-plugin-format": "0.1.2",
"eslint-plugin-import-x": "4.1.1",
"eslint-plugin-jsdoc": "^50.2.2",
"eslint-plugin-jsonc": "^2.16.0",
"eslint-plugin-n": "^17.10.2",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-promise": "^7.1.0",
"eslint-plugin-react": "git://github.com/jsx-eslint/eslint-plugin-react.git#a2306e7a88762ced2c15cefa3df5a865e9976617",
"eslint-plugin-react-compiler": "0.0.0-experimental-9ed098e-20240725",
"eslint-plugin-react-hooks": "5.1.0-rc-b57d2823-20240822",
"eslint-plugin-regexp": "^2.6.0",
"eslint-plugin-tailwindcss": "^3.17.4",
"eslint-plugin-unicorn": "git://github.com/sindresorhus/eslint-plugin-unicorn.git#891842d539d0d002119e9c476a050a12d3936a75",
"eslint-plugin-jsonc": "2.16.0",
"eslint-plugin-n": "17.10.2",
"eslint-plugin-regexp": "2.6.0",
"eslint-plugin-tailwindcss": "3.17.4",
"eslint-plugin-unicorn": "55.0.0",
"globals": "^15.9.0",
"local-pkg": "^0.5.0",
"typescript-eslint": "8.2.0"
"local-pkg": "0.5.0",
"prettier-linter-helpers": "1.0.0",
"typescript-eslint": "8.4.0"
},
"devDependencies": {
"@commitlint/cli": "19.4.1",
"@commitlint/config-conventional": "19.4.1",
"@eslint/js": "^9.9.1",
"@nivalis/prettier-config": "^3.3.3",
"@swc/core": "^1.7.18",
"@types/eslint__js": "^8.42.3",
"@types/node": "^20.16.1",
"@types/node": "22.5.2",
"@types/prettier-linter-helpers": "1.0.4",
"eslint": "9.9.1",
"eslint-flat-config-utils": "^0.3.1",
"eslint-typegen": "^0.3.1",
"lefthook": "1.7.14",
"lint-staged": "^15.2.9",
"prettier": "^3.3.3",
"tsup": "^8.2.4",
"typescript": "^5.5.4"
"typescript": "5.5.4",
"unbuild": "2.0.0"
},
"unbuild": {
"declaration": true,
"failOnWarn":false,
"exports": "named",
"preserveModules": true,
"sourcemap": true
},
"lint-staged": {
"*": "eslint --fix --no-warn-ignored --flag unstable_ts_config"
Expand Down
Loading

0 comments on commit daccece

Please sign in to comment.