🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
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

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 @@