Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@antfu/eslint-config-basic

Package Overview
Dependencies
Maintainers
1
Versions
123
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@antfu/eslint-config-basic - npm Package Compare versions

Comparing version 0.43.0-beta.0 to 0.43.0-beta.1

5

index.js

@@ -23,3 +23,2 @@ // eslint-disable-next-line n/prefer-global/process

'*.min.*',
'*.d.ts',
'CHANGELOG.md',

@@ -271,2 +270,4 @@ 'dist',

'@stylistic/js/template-curly-spacing': 'error',
'@stylistic/js/brace-style': ['error', 'stroustrup', { allowSingleLine: true }],
'@stylistic/js/comma-style': ['error', 'last'],
'@stylistic/js/spaced-comment': ['error', 'always', {

@@ -285,5 +286,3 @@ line: {

'no-param-reassign': 'off',
'brace-style': ['error', 'stroustrup', { allowSingleLine: true }],
'camelcase': 'off',
'comma-style': ['error', 'last'],
'comma-dangle': ['error', 'always-multiline'],

@@ -290,0 +289,0 @@ 'no-constant-condition': 'warn',

6

package.json
{
"name": "@antfu/eslint-config-basic",
"version": "0.43.0-beta.0",
"version": "0.43.0-beta.1",
"description": "",

@@ -19,3 +19,3 @@ "author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",

"dependencies": {
"@stylistic/eslint-plugin-js": "0.0.2",
"@stylistic/eslint-plugin-js": "0.0.3",
"eslint-plugin-eslint-comments": "^3.2.0",

@@ -35,3 +35,3 @@ "eslint-plugin-html": "^7.1.0",

"yaml-eslint-parser": "^1.2.2",
"eslint-plugin-antfu": "0.43.0-beta.0"
"eslint-plugin-antfu": "0.43.0-beta.1"
},

@@ -38,0 +38,0 @@ "devDependencies": {

@@ -38,3 +38,3 @@ // Inline from https://github.com/standard/eslint-config-standard/blob/master/.eslintrc.json

}],
'brace-style': ['error', '1tbs', { allowSingleLine: true }],
'@stylistic/js/brace-style': ['error', '1tbs', { allowSingleLine: true }],
'camelcase': ['error', {

@@ -52,7 +52,7 @@ allow: ['^UNSAFE_'],

}],
'comma-style': ['error', 'last'],
'@stylistic/js/comma-style': ['error', 'last'],
'constructor-super': 'error',
'curly': ['error', 'multi-line'],
'default-case-last': 'error',
'dot-location': ['error', 'property'],
'@stylistic/js/dot-location': ['error', 'property'],
'dot-notation': ['error', { allowKeywords: true }],

@@ -131,3 +131,2 @@ 'eol-last': 'error',

'no-sparse-arrays': 'error',
'no-tabs': 'error',
'no-template-curly-in-string': 'error',

@@ -180,2 +179,3 @@ 'no-this-before-super': 'error',

// Stylistic
'@stylistic/js/no-tabs': 'error',
'@stylistic/js/array-bracket-spacing': ['error', 'never'],

@@ -182,0 +182,0 @@ '@stylistic/js/arrow-spacing': ['error', { before: true, after: true }],

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