|
26 | 26 | "test:watch": "npm run test -- --watch",
|
27 | 27 | "test:commit": "npm run test -- -o --silent --watchAll=false",
|
28 | 28 | "test:all": "npm run test -- --silent --watchAll=false",
|
29 |
| - "format": "prettier --ignore-path .gitignore --write \"**/*.+(js|json|ts|tsx|md|mdx|yml)\"", |
| 29 | + "format": "prettier --write \"**/*\" --ignore-unknown", |
30 | 30 | "check:types": "tsc --pretty",
|
31 |
| - "check:format": "prettier --check \"**/*.+(js|json|ts|tsx|md|mdx|yml)\"", |
32 |
| - "lint": "eslint --ignore-path .gitignore .", |
| 31 | + "check:format": "prettier --check \"**/*\" --ignore-unknown", |
| 32 | + "lint": "eslint . --report-unused-disable-directives", |
33 | 33 | "lint:quiet": "npm run lint -- --quiet",
|
34 | 34 | "lint:css": "stylelint '**/*.+(ts|tsx)'",
|
35 | 35 | "lint:css:quiet": "npm run lint:css -- --quiet",
|
|
61 | 61 | "*.{ts,tsx,js}": [
|
62 | 62 | "prettier --write",
|
63 | 63 | "eslint --fix",
|
64 |
| - "stylelint", |
65 |
| - "git add" |
| 64 | + "stylelint" |
66 | 65 | ],
|
67 |
| - "*.{md,mdx,css,yaml,yml}": [ |
| 66 | + "*.{md,mdx,css,yaml,yml,json}": [ |
68 | 67 | "prettier --write"
|
69 | 68 | ]
|
70 | 69 | },
|
|
88 | 87 | "styled-system": "^5.1.5"
|
89 | 88 | },
|
90 | 89 | "devDependencies": {
|
91 |
| - "@nordcloud/eslint-config-pat": "^4.15.1", |
| 90 | + "@nordcloud/eslint-config-pat": "^4.16.3", |
92 | 91 | "@rollup/plugin-commonjs": "^24.0.0",
|
93 | 92 | "@rollup/plugin-node-resolve": "^15.0.1",
|
94 | 93 | "@storybook/addon-docs": "^6.5.13",
|
|
114 | 113 | "lint-staged": "^10.3.0",
|
115 | 114 | "npm-run-all": "^4.1.5",
|
116 | 115 | "patch-package": "^6.5.0",
|
117 |
| - "prettier": "^2.8.0", |
| 116 | + "prettier": "^2.8.4", |
118 | 117 | "react": "^17.0.2",
|
119 | 118 | "react-copy-to-clipboard": "^5.1.0",
|
120 | 119 | "react-dom": "^17.0.2",
|
|
0 commit comments