jimmy-guzman / eslint-config-jimmy-guzman Goto Github PK
View Code? Open in Web Editor NEW๐จ An opinionated ESLint configuration that targets typescript, javascript, react and jest/vitest and testing-library
License: MIT License
๐จ An opinionated ESLint configuration that targets typescript, javascript, react and jest/vitest and testing-library
License: MIT License
name: ๐ก Feature Request
about: I have a suggestion (and might want to implement myself ๐)!
eslint-config-jimmy-guzman
version: 1.0.0eslint
version: 8.2.0typescript
version: 4.5.2node
version: 14 {
selector: 'property',
types: ['boolean', 'string'],
format: null,
}
{
selector: 'property',
format: null,
},
eslint-config-jimmy-guzman
version:eslint
version:typescript
version:node
version:const your => code => here
eslint-config-jimmy-guzman
version:eslint
version:typescript
version:node
version: "@typescript-eslint/no-shadow": "error",
'no-shadow': 'off',
explicit-function-return-type can be very annoying and a lot of return types are inferred already. This also loses value when a function is not being exported. Also explicit-module-boundary-types is already turned and is enough.
'@typescript-eslint/explicit-function-return-type': 'off'
eslint-config-jimmy-guzman
version:eslint
version:typescript
version:node
version:const your => code => here
I would like to see the family of testing-library
rules added
Wait for
extends: ['jimmy-guzman', 'jimmy-guzman/react', 'jimmy-guzman/jest', 'jimmy-guzman/testing-library']`
eslint-config-jimmy-guzman
version: 1.0.0eslint
version: 8.2.0typescript
version: 4.5.0node
version: 16'@typescript-eslint/no-confusing-void-expression': 'error'
'@typescript-eslint/no-confusing-void-expression': [
'error',
{ ignoreArrowShorthand: true, ignoreVoidOperator: false },
],
eslint-config-jimmy-guzman
version: 1.2.1
eslint
version: 8.3.0
typescript
version: 4.5.2
node
version: 14 "dependencies": {
"@typescript-eslint/eslint-plugin": "5.3.1",
"@typescript-eslint/parser": "5.3.1",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-import": "2.25.3",
"eslint-plugin-jest": "25.2.4",
"eslint-plugin-jsx-a11y": "6.5.1",
"eslint-plugin-react": "7.27.0",
"eslint-plugin-react-hooks": "4.3.0"
},
"dependencies": {
"@typescript-eslint/eslint-plugin": "^5.3.1",
"@typescript-eslint/parser": "^5.3.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-jest": "^25.2.4",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-react": "^7.27.0",
"eslint-plugin-react-hooks": "^4.3.0"
},
Enable
Add
'@typescript-eslint/consistent-type-imports': [
'error',
{ prefer: 'type-imports', disallowTypeAnnotations: true },
],
'@typescript-eslint/consistent-type-exports': [
'error',
{ fixMixedExportsWithInlineTypeSpecifier: true },
],
'@typescript-eslint/no-duplicate-enum-values': 'error',
'@typescript-eslint/consistent-generic-constructors': [
'error',
'constructor',
],
This will be considered a breaking change
eslint-config-jimmy-guzman
version: 1.0.0eslint
version:typescript
version:node
version:https://github.com/jimmy-guzman/eslint-config-jimmy-guzman/blob/master/package.json#L20
Should be MIT
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates are currently rate-limited. Click on a checkbox below to force their creation now.
commitlint
to v19.2.2eslint-plugin-simple-import-sort
to v12.1.0These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
eslint-plugin-testing-library
to v6.2.2typescript
to v5.4.5@semantic-release/github
, semantic-release
)@types/node
to v20.12.7gitzy
to v5.3.0@typescript-eslint/eslint-plugin
, @typescript-eslint/parser
)@vitest/coverage-v8
, vitest
)eslint-plugin-jest
to v28eslint
to v9.github/workflows/pull_request.yml
actions/checkout v4
pnpm/action-setup v2
actions/setup-node v4
codecov/codecov-action v4
actions/checkout v4
wagoid/commitlint-github-action v6
actions/checkout v4
streetsidesoftware/cspell-action v6
.github/workflows/release.yml
actions/checkout v4
pnpm/action-setup v2
actions/setup-node v4
codecov/codecov-action v4
package.json
@typescript-eslint/eslint-plugin ^7.4.0
@typescript-eslint/parser ^7.4.0
eslint-config-prettier ^9.1.0
eslint-import-resolver-typescript ^3.6.1
eslint-plugin-import ^2.29.1
eslint-plugin-jest ^27.9.0
eslint-plugin-jest-dom ^5.2.0
eslint-plugin-jsx-a11y ^6.8.0
eslint-plugin-node-import ^1.0.4
eslint-plugin-react ^7.34.1
eslint-plugin-react-hooks ^4.6.0
eslint-plugin-simple-import-sort ^12.0.0
eslint-plugin-testing-library ^6.2.0
@semantic-release/changelog 6.0.3
@semantic-release/commit-analyzer 12.0.0
@semantic-release/git 10.0.1
@semantic-release/github 10.0.2
@semantic-release/npm 12.0.0
@semantic-release/release-notes-generator 13.0.0
@types/node 20.11.30
@vitest/coverage-v8 1.4.0
clean-pkg-json ^1.2.0
commitlint 19.2.1
eslint 8.57.0
eslint-find-rules 4.1.0
gitzy 5.2.0
husky 9.0.11
is-ci 3.0.1
lint-staged 15.2.2
pkgroll 2.0.2
prettier 3.2.5
semantic-release 23.0.6
typescript 5.4.3
vitest 1.4.0
eslint ^8.56.0
prettier ^2.4.0 || ^3.0.2
typescript >=4.7.4 <5.5.0
node >= 20
pnpm 8.15.5
.nvmrc
node 20
I would like to see
Wait for this to close:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.