New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

eslint-config-jameslnewell

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-jameslnewell - npm Package Compare versions

Comparing version 0.0.14 to 0.1.0

debug.js

6

index.js

@@ -1,1 +0,5 @@

module.exports = require('./defaults.json');
module.exports = {
extends: [
'jameslnewell/es6'
]
};
{
"name": "eslint-config-jameslnewell",
"version": "0.0.14",
"version": "0.1.0",
"description": "ESLint config for how I like to format code - readable with whitespace and semicolons.",

@@ -17,7 +17,18 @@ "keywords": [

},
"dependencies": {
"eslint-plugin-import": "^0.9.1",
"eslint-plugin-react": "^3.7.1"
},
"devDependencies": {
"eslint": "^1.9.0"
},
"scripts": {
"example.ok": "eslint example/ok.js",
"example.err": "eslint example/err.js"
"es5.ok": "eslint --no-eslintrc example/es5/ok.js",
"es5.err": "eslint --no-eslintrc example/es5/err.js",
"es6.ok": "eslint example/es6/ok.js",
"es6.err": "eslint --no-eslintrc eslint-config-jameslnewell/es6 example/es6/err.js",
"react.ok": "eslint --no-eslintrc eslint-config-jameslnewell/react example/react/ok.js",
"react.err": "eslint --no-eslintrc eslint-config-jameslnewell/react example/react/err.js"
},
"license": "MIT"
}

@@ -11,12 +11,30 @@ # eslint-config-jameslnewell

Create an `.eslintrc` file:
In the root of your project, create a `.eslintrc` file with the following contents:
{
"env": {
"browser": true,
"mocha": true
},
"extends": "jameslnewell"
}
Run `eslint`:
Now run `eslint` on your script files:
eslint *.js
eslint **/*.js
## Configurations
### jameslnewell/es5
Linting rules for ES5.
### jameslnewell/es6
Linting rules for ES6.
### jameslnewell/react
Linting rules for ES6 and react.
## Rules

@@ -23,0 +41,0 @@

debug.json

Sorry, the diff of this file is not supported yet

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