mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-01 04:50:27 +02:00
lint & example fixes (#3160)
* fix import extensions of eslint * revert next.config.cjs * fix eslint globbing * add migrating to docs’ sidebar * fix prettier error on Contributing.md * put quotes for glob matching for windows user * remove type: module from package.json
This commit is contained in:
committed by
Ian Storm Taylor
parent
ac21510597
commit
cedc7dc2a5
@@ -1,7 +1,6 @@
|
||||
{
|
||||
"private": true,
|
||||
"name": "slate-packages",
|
||||
"type": "module",
|
||||
"workspaces": [
|
||||
"packages/*"
|
||||
],
|
||||
@@ -14,8 +13,8 @@
|
||||
"fix:eslint": "yarn lint:eslint --fix",
|
||||
"fix:prettier": "yarn lint:prettier --write",
|
||||
"lint": "yarn lint:eslint && yarn lint:prettier",
|
||||
"lint:eslint": "eslint ./{packages,site}/**/*.{js,jsx,ts,tsx}",
|
||||
"lint:prettier": "prettier --list-different **/*.{css,md,js,jsx,json,ts,tsx}",
|
||||
"lint:eslint": "eslint \"./{packages,site}/**/*.{js,jsx,ts,tsx}\"",
|
||||
"lint:prettier": "prettier --list-different \"**/*.{css,md,js,jsx,json,ts,tsx}\"",
|
||||
"open": "open http://localhost:3000",
|
||||
"release": "NODE_ENV=production yarn build:rollup && yarn test && lerna publish",
|
||||
"serve": "cd ./site && next",
|
||||
|
Reference in New Issue
Block a user