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

@e-chan1007/eslint-config-base

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@e-chan1007/eslint-config-base - npm Package Compare versions

Comparing version 1.0.0-alpha.0 to 1.0.0-alpha.1

109

index.js

@@ -1,1 +0,108 @@

module.exports = {};
module.exports = {
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"rules": {
"@typescript-eslint/ban-ts-comment": ["warn", { "ts-ignore": "allow-with-description" }],
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-use-before-define": ["error"],
"@typescript-eslint/no-var-requires": "off",
"array-bracket-newline": ["warn", "consistent"],
"array-bracket-spacing": ["error", "never"],
"array-element-newline": ["error", "consistent"],
"arrow-body-style": ["error", "as-needed"],
"arrow-parens": ["error", "as-needed"],
"arrow-spacing": "error",
"block-spacing": ["error", "always"],
"brace-style": ["error", "1tbs", { "allowSingleLine": true }],
"camelcase": ["warn", { "ignoreImports": false, "properties": "never" }],
"comma-dangle": ["error", "never"],
"comma-spacing": ["error", { "after": true, "before": false }],
"comma-style": ["error", "last"],
"computed-property-spacing": ["error", "never"],
"curly": ["error", "multi-line", "consistent"],
"default-case-last": "error",
"dot-location": ["error", "property"],
"dot-notation": ["error", { "allowPattern": "^[a-z]+([-_][a-z]+)+$" }],
"eol-last": ["error", "always"],
"eqeqeq": ["error", "always"],
"func-call-spacing": ["error", "never"],
"func-name-matching": "warn",
"function-call-argument-newline": ["error", "consistent"],
"function-paren-newline": "off",
"implicit-arrow-linebreak": "off",
"indent": ["error", 2, { "SwitchCase": 1 }],
"key-spacing": ["error", { "afterColon": true, "beforeColon": false, "mode": "strict" }],
"keyword-spacing": ["error", { "after": true, "before": true }],
"linebreak-style": ["error", "unix"],
"lines-between-class-members": ["error", "never"],
"max-len": [
"error",
{
"code": 140,
"ignoreComments": true,
"ignoreRegExpLiterals": true,
"ignoreStrings": true,
"ignoreTemplateLiterals": true,
"ignoreTrailingComments": true,
"ignoreUrls": true
}
],
"new-parens": ["error", "always"],
"newline-per-chained-call": ["error", { "ignoreChainWithDepth": 5 }],
"no-alert": "error",
"no-constructor-return": "error",
"no-empty": ["error", { "allowEmptyCatch": true }],
"no-empty-function": "off",
"no-eval": "error",
"no-implicit-coercion": "error",
"no-implicit-globals": "warn",
"no-invalid-this": "error",
"no-labels": "warn",
"no-lone-blocks": "error",
"no-loop-func": "error",
"no-multi-spaces": "error",
"no-multi-str": "error",
"no-multiple-empty-lines": ["error", { "max": 3, "maxEOF": 0 }],
"no-nested-ternary": "error",
"no-new": "off",
"no-new-func": "error",
"no-new-wrappers": "warn",
"no-param-reassign": ["error", { "props": false }],
"no-return-assign": ["error", "always"],
"no-self-assign": "error",
"no-self-compare": "error",
"no-sequences": "error",
"no-tabs": "error",
"no-trailing-spaces": "error",
"no-undef": "off",
"no-undef-init": "error",
"no-undefined": "error",
"no-unused-expressions": "warn",
"no-use-before-define": "off",
"no-useless-call": "error",
"no-useless-catch": "error",
"no-useless-concat": "error",
"no-useless-escape": "warn",
"no-useless-return": "error",
"no-var": "error",
"no-void": "error",
"no-whitespace-before-property": "error",
"no-with": "error",
"nonblock-statement-body-position": "off",
"object-curly-newline": ["error", { "multiline": true }],
"object-curly-spacing": ["error", "always", { "objectsInObjects": false }],
"quote-props": ["error", "consistent"],
"quotes": ["error", "double", { "allowTemplateLiterals": true }],
"semi": ["error", "always"],
"semi-spacing": ["error", { "after": true, "before": false }],
"sort-vars": "error",
"space-before-blocks": "error",
"space-before-function-paren": ["error", { "anonymous": "always", "asyncArrow": "always", "named": "never" }],
"space-in-parens": ["error", "never"],
"yoda": ["error", "never"]
}
};
{
"name": "@e-chan1007/eslint-config-base",
"description": "Common settings for ESLint",
"version": "1.0.0-alpha.0",
"version": "1.0.0-alpha.1",
"license": "MIT",

@@ -18,3 +18,13 @@ "author": "e_chan1007 <echan041007@gmail.com> (https://e-chan.me)",

"packageManager": "yarn@3.2.0",
"gitHead": "997944d06c9eaa37025bc47ff53c5c6b6736aa2a"
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.17.0",
"@typescript-eslint/parser": "^5.17.0",
"eslint": "^8.12.0",
"typescript": "^4.6.3"
},
"peerDependencies": {
"eslint": "^8",
"typescript": "^4"
},
"gitHead": "8ffad9e97a15acb7e47f8b0c4c5eb04663bf7978"
}
# @e-chan1007/eslint-config-base
[![](https://badge.fury.io/js/@e-chan1007%2Feslint-config-base.svg)](https://www.npmjs.com/package/@e-chan1007/eslint-config-base)
ESLint の個人用設定(フレームワーク共通)
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