Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@ariesclark/eslint-config
Advanced tools
Here"s a refined version of your README:
Note: This package requires ESLint v9 or higher and is not compatible with earlier versions. If you"re using an older version of ESLint, please upgrade to the latest release or use version 1.x of this package.
To add this configuration to your project, run:
pnpm install -D eslint@9 @ariesclark/eslint-config
Copy the example configuration file into your project’s root directory:
cp node_modules/@ariesclark/eslint-config/eslint.config.mjs .
Customize eslint.config.mjs
as needed for your project.
// eslint.config.js
import { configure } from "@ariesclark/eslint-config";
export default configure({
next: true,
tailwind: true,
typescript: {
tsconfigPath: "./tsconfig.json",
}
});
Normally you only need to import the configure preset:
// eslint.config.js
import { configure } from "@ariesclark/eslint-config";
export default configure({
/* options */
});
And that's it! Or you can configure each integration individually, for example:
// eslint.config.js
import { configure } from "@ariesclark/eslint-config";
export default configure({
// Type of the project. "lib" for libraries, the default is "app"
type: "app",
// Disable stylistic formatting rules
// stylistic: false,
// Or customize the stylistic rules
stylistic: {
indent: "tab", // "tab", or a number.
quotes: "double", // or "single"
},
// TypeScript and Vue are autodetected, you can also explicitly enable them:
typescript: true,
vue: true,
// And even, disable jsonc and yaml support.
jsonc: false,
yaml: false,
// `.eslintignore` is no longer supported in flat config, use `ignores` instead.
ignores: [
"**/fixtures",
// ...globs
]
});
To run ESLint with this configuration:
eslint
command directly, or use pnpx eslint
for a project-local setup.eslint .
For complex documentation, see the @antfu/eslint-config, which this package is based on.
FAQs
An opinionated ESLint Configuration
The npm package @ariesclark/eslint-config receives a total of 72 weekly downloads. As such, @ariesclark/eslint-config popularity was classified as not popular.
We found that @ariesclark/eslint-config demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.