Socket
Socket
Sign inDemoInstall

@beyonk/eslint-config

Package Overview
Dependencies
199
Maintainers
3
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.0.1 to 4.1.0

9

constants.js
'use strict'
module.exports = {
off: 0,
warn: 1,
error: 2,
off: 'off',
warn: 'warn',
error: 'error',
single: 'single',

@@ -11,3 +11,4 @@ any: 'any',

always: 'always',
all: 'all'
all: 'all',
readonly: 'readonly'
}
{
"name": "@beyonk/eslint-config",
"version": "4.0.1",
"version": "4.1.0",
"description": "Eslint config for beyonk",

@@ -27,14 +27,13 @@ "main": "node.js",

"devDependencies": {
"eslint": "^5.15.1",
"eslint-plugin-svelte3": "^2.7.3"
"babel-eslint": "^10.1.0",
"eslint": "^7.2.0"
},
"dependencies": {
"babel-eslint": "^8.2.5",
"eslint-config-standard": "^12.0.0",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-mocha": "^5.3.0",
"eslint-plugin-node": "^8.0.1",
"eslint-plugin-promise": "^4.0.1",
"eslint-plugin-standard": "^4.0.0"
"eslint-config-standard": "^14.1.1",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-mocha": "^7.0.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1"
}
}
'use strict'
const { readonly, off } = require('./constants')
module.exports = {
extends: [
'@beyonk/eslint-config',
extends: './node.js',
globals: {
describe: readonly,
context: readonly,
it: readonly,
beforeEach: readonly,
afterEach: readonly,
before: readonly,
after: readonly
},
parserOptions: {
ecmaVersion: 2019,
sourceType: 'module'
},
env: {
es6: true,
browser: true
},
plugins: [
'svelte3'
],
'overrides': [
overrides: [
{
'files': ['*.svelte','*.html'],
'rules': {
'import/first': 'off',
'import/no-duplicates': 'off',
'import/no-mutable-exports': 'off',
'import/no-unresolved': 'off'
}
files: [
'**/*.svelte',
'**/*.html'
],
rules: {
'import/first': off,
'import/no-duplicates': off,
'import/no-mutable-exports': off,
'import/no-unresolved': off,
'no-multiple-empty-lines': off,
'a11y-no-onchange': off
},
settings: {
'svelte3/ignore-styles': attrs => attrs.lang === 'scss'
},
processor: 'svelte3/svelte3'
}
]
}
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc