https://github.com/cheminfo/eslint-config

Shared ESLint config for cheminfo and ml.js projects

https://github.com/cheminfo/eslint-config

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (6.8%) to scientific vocabulary

Keywords from Contributors

nmr nmr-spectroscopy bruker jcamp jcamp-dx jeol nmr-parser
Last synced: 10 months ago · JSON representation

Repository

Shared ESLint config for cheminfo and ml.js projects

Basic Info
  • Host: GitHub
  • Owner: cheminfo
  • License: mit
  • Language: JavaScript
  • Default Branch: main
  • Size: 343 KB
Statistics
  • Stars: 3
  • Watchers: 8
  • Forks: 4
  • Open Issues: 1
  • Releases: 49
Created almost 10 years ago · Last pushed 11 months ago
Metadata Files
Readme Changelog License

README.md

eslint-config-cheminfo

Shared ESLint config for cheminfo and ml.js projects.

[!IMPORTANT]
Configs now require using the ESLint Flat Config format. See the migration guide for more information.

Installation

console npm i -D eslint-config-cheminfo eslint

Usage

Create a eslint.config.mjs file with the following contents:

```js import { defineConfig } from 'eslint/config'; import cheminfo from 'eslint-config-cheminfo';

export default defineConfig(cheminfo); ```

You can then customise the config for your project.

Create ESLint scripts in your package.json:

json { "scripts": { "eslint": "eslint src", "eslint-fix": "npm run eslint -- --fix" } }

Exported configurations

This package exports three separate configurations:

The default export from eslint-config-cheminfo combines all of them.

Extensions of this config

TypeScript

https://github.com/cheminfo/eslint-config-cheminfo-typescript

React

https://github.com/cheminfo/eslint-config-cheminfo-react

TypeScript and React

To extend both the TypeScript and React configs, use the following template:

```js import { defineConfig } from 'eslint/config'; import typescript from 'eslint-config-cheminfo-typescript'; import react from 'eslint-config-cheminfo-react/base';

export default defineConfig(typescript, react); ```

Owner

  • Name: Cheminfo
  • Login: cheminfo
  • Kind: organization

GitHub Events

Total
  • Create event: 17
  • Commit comment event: 1
  • Release event: 5
  • Issues event: 5
  • Delete event: 6
  • Issue comment event: 12
  • Push event: 20
  • Pull request review comment event: 1
  • Pull request review event: 3
  • Pull request event: 16
  • Fork event: 1
Last Year
  • Create event: 17
  • Commit comment event: 1
  • Release event: 5
  • Issues event: 5
  • Delete event: 6
  • Issue comment event: 12
  • Push event: 20
  • Pull request review comment event: 1
  • Pull request review event: 3
  • Pull request event: 16
  • Fork event: 1

Committers

Last synced: about 3 years ago

All Time
  • Total Commits: 214
  • Total Committers: 4
  • Avg Commits per committer: 53.5
  • Development Distribution Score (DDS): 0.121
Past Year
  • Commits: 17
  • Committers: 2
  • Avg Commits per committer: 8.5
  • Development Distribution Score (DDS): 0.471
Top Committers
Name Email Commits
Michaël Zasso t****s@p****m 188
cheminfo-bot 1****t@u****m 23
Daniel Kostro k****d@g****m 2
Luc Patiny l****c@p****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 15
  • Total pull requests: 57
  • Average time to close issues: 4 months
  • Average time to close pull requests: 1 day
  • Total issue authors: 3
  • Total pull request authors: 6
  • Average comments per issue: 1.07
  • Average comments per pull request: 0.96
  • Merged pull requests: 54
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 3
  • Pull requests: 16
  • Average time to close issues: 4 months
  • Average time to close pull requests: about 10 hours
  • Issue authors: 2
  • Pull request authors: 3
  • Average comments per issue: 0.33
  • Average comments per pull request: 0.63
  • Merged pull requests: 16
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • targos (8)
  • lpatiny (8)
  • stropitek (1)
  • maasencioh (1)
Pull Request Authors
  • cheminfo-bot (58)
  • targos (11)
  • lpatiny (2)
  • RicardoSilvestr (1)
  • maasencioh (1)
  • jajoe (1)
Top Labels
Issue Labels
enhancement (1)
Pull Request Labels
autorelease: tagged (44) autorelease: pending (14)

Packages

  • Total packages: 1
  • Total downloads:
    • npm 20,951 last-month
  • Total docker downloads: 90
  • Total dependent packages: 251
  • Total dependent repositories: 284
  • Total versions: 107
  • Total maintainers: 4
npmjs.org: eslint-config-cheminfo

Shared ESLint config for cheminfo and ml.js projects

  • Versions: 107
  • Dependent Packages: 251
  • Dependent Repositories: 284
  • Downloads: 20,951 Last month
  • Docker Downloads: 90
Rankings
Dependent packages count: 0.2%
Dependent repos count: 0.9%
Docker downloads count: 1.5%
Downloads: 1.6%
Average: 4.4%
Forks count: 8.9%
Stargazers count: 13.1%
Last synced: 11 months ago

Dependencies

package.json npm
  • eslint 8.16.0 development
  • eslint-plugin-import 2.26.0 development
  • eslint-plugin-jest 26.4.6 development
  • eslint-plugin-jsdoc 39.3.2 development
  • prettier ^2.6.2 development
.github/workflows/release.yml actions