🔨(project) add json, cjs and js extensions to prettier config
Prettier had some missing extensions in the config, this commit added them, we then prettified the whole project. We ignore the `cunningham-tokens` files.
This commit is contained in:
committed by
Jean-Baptiste PENRATH
parent
b46aaa66ed
commit
6ea8544fed
@@ -1,8 +1,4 @@
|
||||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"exclude": [
|
||||
"./__mocks__",
|
||||
"./tests",
|
||||
"**/*.spec.ts",
|
||||
]
|
||||
"exclude": ["./__mocks__", "./tests", "**/*.spec.ts"]
|
||||
}
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
{
|
||||
"extends": "@openfun/typescript-configs/node.json",
|
||||
"include": [
|
||||
"**/*"
|
||||
],
|
||||
"include": ["**/*"],
|
||||
"compilerOptions": {
|
||||
"baseUrl": "./",
|
||||
"paths": {
|
||||
@@ -10,5 +8,5 @@
|
||||
},
|
||||
"resolveJsonModule": true,
|
||||
"outDir": "../../dist/bin"
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
{
|
||||
"extends": "@openfun/typescript-configs/node.json",
|
||||
"include": [
|
||||
"./*"
|
||||
],
|
||||
"include": ["./*"],
|
||||
"compilerOptions": {
|
||||
"baseUrl": "./",
|
||||
"outDir": "../../dist/lib",
|
||||
|
||||
Reference in New Issue
Block a user