Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
@esri/eslint-plugin-calcite-components
Advanced tools
ESLint rules specific to Stencil JS projects.
Install the following deps in your stencil project:
npm i @esri/eslint-plugin-calcite-components --save-dev
.eslintrc.json
configuration file:
{
"parserOptions": {
"project": "./tsconfig.json"
},
"extends": [
"plugin:@esri/calcite-components/recommended"
]
}
Add a new lint
script to the package.json
:
{
"scripts": {
"lint": "eslint src/**/*{.ts,.tsx}"
}
}
Lint all your project:
npm run lint
This rule catches props/attributes that should be in the encapsulated HTML structure and not on the host element.
This rule catches boolean props that are initialized in a way that does not conform to the HTML5 spec.
{
"@esri/calcite-components/ban-props-on-host": "error",
"@esri/calcite-components/strict-boolean-attributes": "error"
}
Find a bug or want to request a new feature? Please let us know by submitting an issue.
Esri welcomes contributions from anyone and everyone. Please see our guidelines for contributing.
Copyright 2021 Esri
Licensed under the Apache License Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
A copy of the license is available in the repository's license file.
FAQs
ESLint rules for @esri/calcite-components
The npm package @esri/eslint-plugin-calcite-components receives a total of 178 weekly downloads. As such, @esri/eslint-plugin-calcite-components popularity was classified as not popular.
We found that @esri/eslint-plugin-calcite-components demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.