americanexpress / eslint-config-amex Goto Github PK
View Code? Open in Web Editor NEW✨ This is American Express' eslint config
License: Apache License 2.0
✨ This is American Express' eslint config
License: Apache License 2.0
Create a pull request template
an example can be found at https://github.com/americanexpress/one-app/blob/main/.github/pull_request_template.md
This tutorial can be followed
Hello!
I hope you are doing well!
We are a security research team. Our tool automatically detected a vulnerability in this repository. We want to disclose it responsibly. GitHub has a feature called Private vulnerability reporting, which enables security research to privately disclose a vulnerability. Unfortunately, it is not enabled for this repository.
Can you enable it, so that we can report it?
Thanks in advance!
PS: you can read about how to enable private vulnerability reporting here: https://docs.github.com/en/code-security/security-advisories/repository-security-advisories/configuring-private-vulnerability-reporting-for-a-repository
$ npm install --save-dev eslint eslint-config-amex prettier eslint-plugin-prettier
npm WARN deprecated [email protected]: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
...
$ npm ls babel-eslint
...
└─┬ [email protected]
└── [email protected]
// eslint-disable-next-line max-len -- ignores are too long
// eslint-disable-next-line no-return-await -- if we don't explicitly await, the exception is not thrown within the function
expect(async () => await somePromise).toThrow('mockError');
Since the no-return-await
has a rich description, it exceeds 100 characters.
This means that every ignore line becomes two ignore lines.
Can we not enforce max-len for ignore comments?
babel-eslint needs to be replaced with @babel/eslint-parser.
Typescript 5.0 has been released on March 16, 2023:
https://devblogs.microsoft.com/typescript/announcing-typescript-5-0/
The peer deps need to be updated:
"typescript": "^3.8.3 || ^4.0.0"
eslint-plugin-jest released a new major version 26 three months ago, but this package still requires version 24 or 25.
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.