ridedott / eslint-config Goto Github PK
View Code? Open in Web Editor NEWA safety-oriented, fp-first configuration of ESLint.
License: MIT License
A safety-oriented, fp-first configuration of ESLint.
License: MIT License
Dependabot couldn't authenticate with npm.pkg.github.com/ridedott.
Dependabot tried to authenticate with the details you previously provided, but authentication failed. If they are no longer valid you will need to provide Dependabot with new credentials.
You can provide authentication details in your Dependabot dashboard by clicking into the account menu (in the top right) and selecting 'Config variables'.
Dependabot couldn't authenticate with npm.pkg.github.com/ridedott.
Dependabot tried to authenticate with the details you previously provided, but authentication failed. If they are no longer valid you will need to provide Dependabot with new credentials.
You can provide authentication details in your Dependabot dashboard by clicking into the account menu (in the top right) and selecting 'Config variables'.
Hi! , thanks for this super interesting ESLint configuration ;)
Trying to use in my projects gives me the error "Configuration for rule @typescript-eslint/array-type is invalid: Value array-simple should be object."
Taking a look to the code, rules/typescript.js:3
seems to be the problem, the documentation says that it expects an object but it's receiving a string.
Dependabot couldn't authenticate with npm.pkg.github.com/ridedott.
Dependabot tried to authenticate with the details you previously provided, but authentication failed. If they are no longer valid you will need to provide Dependabot with new credentials.
You can provide authentication details in your Dependabot dashboard by clicking into the account menu (in the top right) and selecting 'Config variables'.
Linting the example code below I am presented with the following error:
Unnecessary conditional, value is always falsy. @typescript-eslint/no-unnecessary-condition
const list1: string[] | undefined;
const list2 = ['bar', 'baz'].some(
(value: string): boolean => list1?.includes(value) ?? false,
);
As list1
is potentially undefined the nullish coalescing (??
) makes sense. A potential workaround is to instead write:
const list2 = ['bar', 'baz'].some(
(value: string): boolean => list1?.includes(value) === true,
);
Though I feel like this should not be reported by the linter as an error.
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.