
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
eslint-config-tamia
Advanced tools
This package provides Tâmia’s .eslintrc
as an extensible shared config. Based on eslint-config-airbnb.
Should be used with Prettier, has no own code style rules.
We export three ESLint configurations:
Base set of rules for JavaScript. Includes:
npm install --save-dev eslint eslint-config-tamia
eslint.config.mjs
:
import tamia from 'eslint-config-tamia';
export default [...tamia];
Lints ES6+ and React. Includes:
npm install --save-dev eslint eslint-config-tamia
eslint.config.mjs
:
import tamiaReact from 'eslint-config-tamia/react';
export default [...tamiaReact];
Lints TypeScript. Includes:
npm install --save-dev eslint eslint-config-tamia
eslint.config.mjs
:
import tamiaTypeScript from 'eslint-config-tamia/typescript';
export default [...tamiaTypeScript];
Lints TypeScript and React. Includes:
npm install --save-dev eslint eslint-config-tamia eslint-plugin-jsx-a11y
eslint.config.mjs
:
import tamiaTypeScriptReact from 'eslint-config-tamia/typescript-react';
import jsxAccessibility from 'eslint-plugin-jsx-a11y';
export default [
...tamiaTypeScriptReact,
jsxAccessibility.flatConfigs.strict
];
const
, not var
.===
and !==
over ==
and !=
.Example:
function eatFood(food) {
if (food.length === 0) {
return ['No food'];
}
return food.map(dish => `No ${dish.toLowerCase()}`);
}
const food = ['Pizza', 'Burger', 'Coffee'];
console.log(eatFood(food));
See ESlint config docs for more information.
FAQs
Tâmia ESLint config
The npm package eslint-config-tamia receives a total of 944 weekly downloads. As such, eslint-config-tamia popularity was classified as not popular.
We found that eslint-config-tamia demonstrated a healthy version release cadence and project activity because the last version was released less than 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
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.