New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@eox/eslint-config

Package Overview
Dependencies
Maintainers
5
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eox/eslint-config - npm Package Compare versions

Comparing version 3.0.0-alpha.7 to 3.0.0-alpha.8

1

index.js

@@ -10,2 +10,3 @@ import eslintConfigPrettier from "eslint-config-prettier";

languageOptions: {
ecmaVersion: 2022,
globals: {

@@ -12,0 +13,0 @@ ...globals.node,

2

package.json
{
"name": "@eox/eslint-config",
"version": "3.0.0-alpha.7",
"version": "3.0.0-alpha.8",
"description": "EOX Prettier and ESLint config for Vue.js projects",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -25,8 +25,8 @@ # EOX ESLint & Prettier config vor JS

To include ESLint in the project, create a file called `.eslintrc.js` in the app root:
To include ESLint in the project, create a file called `eslint.config.mjs` in the app root:
```js
module.exports = {
extends: "@eox",
};
import eox from "@eox/eslint-config";
export default [...eox];
```

@@ -37,13 +37,15 @@

```bash
npx eslint . --fix
npx eslint --fix .
```
Please refer to the [ESLint CLI docs](https://eslint.org/docs/latest/user-guide/command-line-interface) for further details.
Please refer to the [ESLint configuration docs](https://eslint.org/docs/latest/use/configure/) and [ESLint CLI docs](https://eslint.org/docs/latest/user-guide/command-line-interface) for further details.
## Ignoring files
You can add [.eslintignore](https://eslint.org/docs/latest/user-guide/configuring/ignoring-code) and [.prettierignore](https://prettier.io/docs/en/ignore.html) files to ignore certain folders or files/patterns.
not any longer -> only for prettier?
Both ignore files should ideally have the same content, e.g.:
You can add a [.prettierignore](https://prettier.io/docs/en/ignore.html) file to ignore certain folders or files/patterns.
E.g.:
```

@@ -58,2 +60,4 @@ public

For ESlint, use the [`ignores` property in the config file](https://eslint.org/docs/latest/use/configure/migration-guide#ignoring-files).
## Custom configuration & rules

@@ -60,0 +64,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc