Socket
Socket
Sign inDemoInstall

@jill64/eslint-config-svelte

Package Overview
Dependencies
Maintainers
1
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jill64/eslint-config-svelte - npm Package Compare versions

Comparing version 0.0.8 to 1.0.0

1

dist/svelteConfig.js

@@ -14,2 +14,3 @@ import js from '@eslint/js';

'build',
'coverage',
'*.config.{js,cjs,mjs}',

@@ -16,0 +17,0 @@ '.svelte-kit',

@@ -16,2 +16,3 @@ import js from '@eslint/js';

'build',
'coverage',
'*.config.{js,ts,cjs,mjs,cts,mts}',

@@ -18,0 +19,0 @@ '.svelte-kit',

9

package.json
{
"name": "@jill64/eslint-config-svelte",
"description": "🔹Pre-Defined ESLint Flat Config for Svelte",
"version": "0.0.8",
"version": "1.0.0",
"type": "module",

@@ -12,6 +12,3 @@ "main": "dist/index.js",

"files": [
"dist",
"!**/*.test.*",
"!*.test.*",
"!*.spec.*"
"dist"
],

@@ -45,3 +42,5 @@ "exports": {

},
"prettier": "@jill64/prettier-config",
"devDependencies": {
"@jill64/prettier-config": "1.0.0",
"@types/eslint-config-prettier": "6.11.3",

@@ -48,0 +47,0 @@ "@types/eslint__js": "8.42.3",

@@ -9,13 +9,13 @@ <!----- BEGIN GHOST DOCS HEADER ----->

<!----- END GHOST DOCS HEADER ----->
## Installation
```sh
npm i @jill64/eslint-config-svelte
npm i -D @jill64/eslint-config-svelte
```
<!----- END GHOST DOCS HEADER ----->
## Usage
`eslint.config.js`
eslint.config.js

@@ -28,2 +28,11 @@ with TypeScript

/** @type {import('@jill64/eslint-config-svelte').FlatConfig[]} */
export default svelteTsConfig()
```
To add any configuration, configure as follows
```js
import { svelteTsConfig } from '@jill64/eslint-config-svelte'
/** @type {import('@jill64/eslint-config-svelte').FlatConfig[]} */
export default [

@@ -30,0 +39,0 @@ ...svelteTsConfig()

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