mirror of
https://github.com/teoxoy/factorio-blueprint-editor.git
synced 2025-09-04 17:09:30 +00:00
update prettier
This commit is contained in:
@@ -1 +1,2 @@
|
||||
basis/
|
||||
packages/editor/src/basis
|
||||
packages/exporter
|
@@ -1,14 +1,11 @@
|
||||
printWidth: 100
|
||||
tabWidth: 4
|
||||
useTabs: false
|
||||
semi: false
|
||||
singleQuote: true
|
||||
trailingComma: es5
|
||||
bracketSpacing: true
|
||||
arrowParens: avoid
|
||||
endOfLine: lf
|
||||
printWidth: 100 # default: 80, TODO: consider removing
|
||||
tabWidth: 4 # default: 2
|
||||
semi: false # default: true
|
||||
singleQuote: true # default: false, TODO: consider removing
|
||||
trailingComma: es5 # default: all
|
||||
arrowParens: avoid # default: always, TODO: consider removing
|
||||
|
||||
overrides:
|
||||
- files: '*.yml'
|
||||
options:
|
||||
tabWidth: 2
|
||||
tabWidth: 2 # default
|
||||
|
15
package-lock.json
generated
15
package-lock.json
generated
@@ -15,7 +15,7 @@
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"eslint-import-resolver-typescript": "^2.5.0",
|
||||
"eslint-plugin-import": "^2.25.3",
|
||||
"prettier": "^2.5.1",
|
||||
"prettier": "^3.4.2",
|
||||
"typescript": "^4.5.4"
|
||||
}
|
||||
},
|
||||
@@ -4122,16 +4122,19 @@
|
||||
}
|
||||
},
|
||||
"node_modules/prettier": {
|
||||
"version": "2.5.1",
|
||||
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.5.1.tgz",
|
||||
"integrity": "sha512-vBZcPRUR5MZJwoyi3ZoyQlc1rXeEck8KgeC9AwwOn+exuxLxq5toTRDTSaVrXHxelDMHy9zlicw8u66yxoSUFg==",
|
||||
"version": "3.4.2",
|
||||
"resolved": "https://registry.npmjs.org/prettier/-/prettier-3.4.2.tgz",
|
||||
"integrity": "sha512-e9MewbtFo+Fevyuxn/4rrcDAaq0IYxPGLvObpQjiZBMAzB9IGmzlnG9RZy3FFas+eBMu2vA0CszMeduow5dIuQ==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"bin": {
|
||||
"prettier": "bin-prettier.js"
|
||||
"prettier": "bin/prettier.cjs"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=10.13.0"
|
||||
"node": ">=14"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/prettier/prettier?sponsor=1"
|
||||
}
|
||||
},
|
||||
"node_modules/pretty-time": {
|
||||
|
@@ -10,8 +10,8 @@
|
||||
"build:website": "npm --workspace=@fbe/website run build",
|
||||
"lint": "eslint **/*.ts --config .eslintrc.yml --ignore-path .gitignore",
|
||||
"lint:fix": "eslint **/*.ts --fix --config .eslintrc.yml --ignore-path .gitignore",
|
||||
"format": "prettier **/*.{js,ts,html,json,yml,md} --check --config .prettierrc.yml --ignore-path .gitignore",
|
||||
"format:fix": "prettier **/*.{js,ts,html,json,yml,md} --write --config .prettierrc.yml --ignore-path .gitignore"
|
||||
"format": "prettier . --check",
|
||||
"format:fix": "prettier . --write"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@typescript-eslint/eslint-plugin": "^5.7.0",
|
||||
@@ -20,7 +20,7 @@
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"eslint-import-resolver-typescript": "^2.5.0",
|
||||
"eslint-plugin-import": "^2.25.3",
|
||||
"prettier": "^2.5.1",
|
||||
"prettier": "^3.4.2",
|
||||
"typescript": "^4.5.4"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user