
Security News
Meet Socket at Black Hat Europe and BSides London 2025
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.
eslint-config-ticketfly-base
Advanced tools
Ticketfly's base ESLint configuration for JavaScript applications
Ticketfly's base ESLint configuration for JavaScript projects.
You can install ESLint using npm:
npm install eslint --save-dev
*Note that if your build process includes using a tool that runs ESLint
(for example, Ember CLI ESLint),
installing eslint directly might not be necessary.
Next, install this configuration:
npm install eslint-config-ticketfly-base --save-dev
You'll need to configure the way that you extend from eslint-config-ticketfly-base
inside of your .eslintrc.js file.
The most straightforward approach involves extending the root project name:
{
extends: 'ticketfly-base', // shorthand for 'eslint-config-ticketfly-base'
rules: {
// Additional, per-project rules...
}
}
This will provide the configuration files composed in lib/base.js
(which, first and foremost, extend from eslint:recommended).
In most cases, however, you'll likely want to extend from our "recommended" setup, which is optimized for modern browser environments:
{
extends: 'ticketfly-base/lib/recommended', // shorthand for 'eslint-config-ticketfly-base'
rules: {
// Additional, per-project rules...
}
}
If you want to be more selective, however, you can always compose individual files yourself:
{
extends: [
'eslint:recommended'
'eslint-config-ticketfly-base/rules/best-practices',
'eslint-config-ticketfly-base/rules/possible-errors',
'eslint-config-ticketfly-base/rules/nodejs-and-commonjs'
].map(require.resolve),
rules: {
// Additional, per-project rules...
}
}
FAQs
Ticketfly's base ESLint configuration for JavaScript applications
We found that eslint-config-ticketfly-base demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.