![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@crystal-ball/eslint-config-eloquence
Advanced tools
Add package as a dev dependency to your project:
npm i eslint-config-healthsparq -D
If you are using the web configs, install the webpack resolver as well:
npm i eslint-import-resolver-webpack -D
Extending this package's config will handle setting the base parserOptions, parser,
plugins and env. There are seperate configs for Node projects and web projects
to handle turning on/off features like JSX, webpack resolving, .mjs
file
extensions, etc. The configs are node
and web
and can be extended like so:
// .eslintrc.js
module.exports = { extends: '@crystal-ball/eloquence/web' }
// .eslintrc.js
module.exports = { extends: '@crystal-ball/eloquence/node' }
The only Airbnb code quality rule that is overriden is setting
no-use-before-define to
{ functions: false }
. This allows propTypes of
stateless functional components to be decalred before the component defintion using
a function declarartion:
Radical.propTypes = {
name: string.isRequired
}
export default function Radical({ name }) {
return <h1>{name} is RADICAL!</h1>
}
This lets us always declare our prop types before the component definition, which is helpful when evaluating some new component.
All dependencies required for running ESLint will be installed as dependencies of this package. This ensures that there are no conflicting versions of ESLint in a consuming project's dependencies. Installed dependencies include:
Linting for TypeScript is an opt-in. First, add the ESLint TS parser:
npm i typescript-eslint-parser
Then extend the TyepScript configuration:
// .eslintrc.js
module.exports = {
extends: '@crystal-ball/eloquence/typescript'
}
FAQs
Crystal Ball Componentry org ESLint configuration
The npm package @crystal-ball/eslint-config-eloquence receives a total of 17 weekly downloads. As such, @crystal-ball/eslint-config-eloquence popularity was classified as not popular.
We found that @crystal-ball/eslint-config-eloquence demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.