Comments (8)
It seems like this is still a problem? Any ideas on this?
from schemastore.
I ran into the same issue, specifically with the curly
rule at first and mistakenly tried to fix it on the tslint side, but the tslint.json used here has several old schemata for rules that have changed. I'll look into making a PR with updates to those rules.
from schemastore.
Be sure to not only add the missing new rules, but also the new options and severity configuration for each rule.
For example :
"class-name": true
can now be set like this, to manage severity level :
"class-name": {
"options": true,
"severity": "error"
}
I hope there is something to manage this case in json schemas, or it will be a very ugly schema with a lot of duplicate code...
from schemastore.
The ban rule is also invalid since it's no longer an array of banned functions/methods since v5.4.0.
See palantir/tslint#2547
from schemastore.
Other TSLint rules having the same issue (Incorrect type. Expected "array"
):
"interface-name": false
"trailing-comma": false
"comment-format": false
"max-classes-per-file": false
"no-console": false
"member-ordering": false
from schemastore.
@Martin-Wegner this can be closed now, see #339
from schemastore.
@tkrotoff thank you! But unfortunately there are a lot of new TSLint rules which produces a lot of warnings. For example:
"member-ordering": [true, "fields-first"]
-> Incorrect type. Expected "object"
"no-magic-numbers": true
-> Incorrect type. Expected "array"
"no-void-expression": [true, "ignore-arrow-function-shorthand"]
-> Incorrect type. Expected "boolean"
"ordered-imports": [true, { "import-sources-order": "case-insensitive", "named-imports-order": "case-insensitive" }]
-> Incorrect type. Expected "boolean"
from schemastore.
@Martin-Wegner Well you can send a PR like I did
from schemastore.
Related Issues (20)
- Add a new catalog field matching versions based in an expression
- Add Jest Schema
- Add PDM Schema HOT 2
- mypy schema: Support `show_error_codes`, `show_error_code_links` HOT 4
- mypy: support 'no_implicit_optional', 'no_implicit_reexport' HOT 1
- Jekyll Schema should allow arbitrary paths in any permalink HOT 1
- Question: how do we control who is modifying/adding version to my submitted schemas ? HOT 1
- `updates.registries` should also accept `"*"` as value HOT 4
- Validation fail for cron with run on 1st and 3rd Wednesday
- There is no timezone Europe/Kyiv HOT 3
- Add subschema for Pyright HOT 1
- Add ninjs 1.4 to `catalog.json`
- Azure Pipelines: timeoutInMinutes should be number
- Missing PyProject schemas HOT 1
- Expand unit tests to include more JSON Schema implementations
- Incorrect regex for allowed Git dependencies in Poetry section of pyproject.toml HOT 5
- Add "relative path annotations" to schemas
- Please add IVMS101 schema used by CODE protocol HOT 1
- Add missing launchsettings.json enum value for "SdkContainer"
- Hugo `markup.tableOfContents.endLevel` reject valid values
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from schemastore.