https://github.com/cheminfo/eslint-config
Shared ESLint config for cheminfo and ml.js projects
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
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
Metadata Files
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:
eslint-config-cheminfo/base: The base config with most rules. At least this config should be used in all projects.eslint-config-cheminfo/jsdoc: Rules from the jsdoc plugin to help improve the documentation of our libraries.eslint-config-cheminfo/unicorn: Additional opinionated rules selected from the unicorn plugin.eslint-config-cheminfo/vitest: Rules from the Vitest plugin.
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
- Website: https://www.cheminfo.org/
- Repositories: 242
- Profile: https://github.com/cheminfo
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
Top Committers
| Name | 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
Pull Request Labels
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
- Homepage: https://github.com/cheminfo/eslint-config#readme
- License: MIT
-
Latest release: 15.0.2
published 11 months ago
Rankings
Maintainers (4)
Dependencies
- 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