mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
update prettierrc schema
This commit is contained in:
@@ -23,11 +23,11 @@
|
||||
</macrodef>
|
||||
|
||||
<target name="prettier">
|
||||
<get_schema fromUrl="http://json.schemastore.org/prettierrc-1.8.2"
|
||||
<get_schema fromUrl="http://json.schemastore.org/prettierrc"
|
||||
toFile="${idea.project.home}/contrib/prettierJS/resources/prettierrc-schema.json" />
|
||||
<!-- Add schema ID manually -->
|
||||
<replaceregexp file="${idea.project.home}/contrib/prettierJS/resources/prettierrc-schema.json"
|
||||
match=""definitions"" replace=""id": "http://json.schemastore.org/prettierrc-1.8.2",${line.separator} "definitions"" />
|
||||
match=""definitions"" replace=""id": "http://json.schemastore.org/prettierrc",${line.separator} "definitions"" />
|
||||
</target>
|
||||
|
||||
<target name="tslint">
|
||||
@@ -78,7 +78,7 @@
|
||||
replace=""eslintConfig" : {"$ref": "http://json.schemastore.org/eslintrc#"},${line.separator} "publishConfig"" />
|
||||
<replaceregexp file="${idea.project.home}/plugins/NodeJS/src/com/jetbrains/nodejs/packageJson/packageJsonSchema.json"
|
||||
match=""publishConfig""
|
||||
replace=""prettier" : {"$ref": "http://json.schemastore.org/prettierrc-1.8.2#"},${line.separator} "publishConfig"" />
|
||||
replace=""prettier" : {"$ref": "http://json.schemastore.org/prettierrc#"},${line.separator} "publishConfig"" />
|
||||
<replaceregexp file="${idea.project.home}/plugins/NodeJS/src/com/jetbrains/nodejs/packageJson/packageJsonSchema.json"
|
||||
match=""publishConfig""
|
||||
replace=""stylelint" : {"$ref": "http://json.schemastore.org/stylelintrc#"},${line.separator} "publishConfig"" />
|
||||
|
||||
Reference in New Issue
Block a user