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

eslint-config-naturalatlas

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-naturalatlas - npm Package Compare versions

Comparing version

to
2.0.0

index.js

19

package.json
{
"name": "eslint-config-naturalatlas",
"version": "1.0.1",
"version": "2.0.0",
"description": "Natural Atlas ESLint configuration",
"main": "base.js",
"main": "index.js",
"scripts": {

@@ -24,9 +24,12 @@ "test": "mocha ./test/index.js"

"homepage": "https://github.com/naturalatlas/eslint-config-naturalatlas#readme",
"dependencies": {
"extend": "^3.0.0"
"peerDepedencies": {
"eslint": "^4.8.0",
"eslint-config-airbnb": "^16.0.0",
"eslint-config-airbnb-base": "^12.0.2",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-jsx-a11y": "^6.0.2",
"eslint-plugin-react": "^7.4.0"
},
"devDependencies": {
"chai": "^3.4.0",
"mocha": "^2.3.3"
}
"devDependencies": {},
"dependencies": {}
}

@@ -1,18 +0,22 @@

## eslint-config-naturalatlas
# eslint-config-naturalatlas
A [ESLint](http://eslint.org/) config for [Natural Atlas](https://github.com/naturalatlas) projects.
A [ESLint](http://eslint.org/) config for [Natural Atlas](https://github.com/naturalatlas) projects that's based off [eslint-config-airbnb](https://www.npmjs.com/package/eslint-config-airbnb).
## Usage
### Installation
### With React
```
$ npm install -g install-peerdeps
$ install-peerdeps --dev eslint-config-naturalatlas
```
1. `npm install --save-dev eslint eslint-plugin-react eslint-config-naturalatlas`
2. add `"extends": "naturalatlas/react"` to your .eslintrc
3. add `eslint --fix ./lib/**` to package.json `test` script\
### Usage
### Without React
```js
// modern / transpiled environments
{"extends": "naturalatlas"}
1. `npm install --save-dev eslint eslint-config-naturalatlas`
2. add `"extends": "naturalatlas/base"` to your .eslintrc
3. add `eslint --fix ./lib/**` to package.json `test` script\
// when running directly
{"extends": "naturalatlas/node"}
{"extends": "naturalatlas/node4"}
```

@@ -22,15 +26,9 @@ ### Overrides

Some of the rules may be too strict for your project,
but you can easily override any rules or options like this:
but you can easily override any rules or options in your `.eslintrc`:
```json
{
"extends": "naturalatlas/base",
"rules": {
"space-before-function-paren": 0,
"indent": [2, 2]
},
"env": {
"mocha": true
}
"extends": "naturalatlas",
"rules": {}
}
```

Sorry, the diff of this file is not supported yet