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

altheajs-eslint-config

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

altheajs-eslint-config - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

.eslintrc

39

index.js

@@ -1,1 +0,38 @@

console.log('eslint config')
module.exports = {
extends: [
// https://www.npmjs.com/package/eslint-config-airbnb-typescript
'airbnb-typescript',
'plugin:@typescript-eslint/recommended',
'plugin:@typescript-eslint/recommended-requiring-type-checking',
'plugin:vue/essential',
],
env: {
browser: true,
es2021: true,
node: true,
},
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 12,
ecmaFeatures: {
jsx: true,
},
parser: '@typescript-eslint/parser',
project: './tsconfig.json',
sourceType: 'module',
},
plugins: [
'@typescript-eslint',
'vue',
],
rules: {},
overrides: [
{
files: ['*.js'],
rules: {
// Warn `require()`
'@typescript-eslint/no-var-requires': 'warn',
},
},
],
};
{
"name": "altheajs-eslint-config",
"version": "1.0.2",
"version": "1.0.3",
"description": "An eslint config, what else?",

@@ -18,3 +18,14 @@ "main": "index.js",

},
"homepage": "https://github.com/drewcook/eslint-config#readme"
"homepage": "https://github.com/drewcook/eslint-config#readme",
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^4.28.3",
"@typescript-eslint/parser": "^4.28.3",
"eslint": "^7.30.0",
"eslint-config-airbnb-typescript": "^12.3.1",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-vue": "^7.13.0"
}
}

6

README.md

@@ -41,2 +41,4 @@ # altheajs-eslint-config

"extends": ["altheajs-eslint-config"],
// if using typescript
"parserOptions": { "project": "./tsconfig.json" }
// ...more custom config overrides

@@ -55,5 +57,5 @@ };

// check for linting errors
"lint:quality": "eslint -c .eslintrc.js ./**/*",
"lint:quality": "npx eslint -c .eslintrc.js . --ext .js,.jsx,.ts,.tsx"
// fix and apply the rules to those that can be fixed
"fix:quality": "eslint -c .eslintrc.js ./**/* --fix",
"fix:quality": "npx eslint -c .eslintrc.js . --ext .js,.jsx,.ts,.tsx --fix",
}

@@ -60,0 +62,0 @@ }

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