eslint-config-20minutes
Advanced tools
Comparing version 1.0.8 to 1.0.9
51
index.js
module.exports = { | ||
"env": { | ||
"es6": true, | ||
"node": true, | ||
"jest": true, | ||
"browser": true, | ||
env: { | ||
es6: true, | ||
node: true, | ||
jest: true, | ||
browser: true, | ||
}, | ||
"parser": "babel-eslint", | ||
"extends": "airbnb", | ||
"plugins": [ | ||
"babel", | ||
parser: 'babel-eslint', | ||
extends: 'airbnb', | ||
plugins: [ | ||
'babel', | ||
'react', | ||
], | ||
"rules": { | ||
"semi": [2, "never"], | ||
"no-console": [1, { | ||
"allow": ["warn", "error"], | ||
rules: { | ||
semi: [2, 'never'], | ||
'no-console': [1, { | ||
allow: ['warn', 'error'], | ||
}], | ||
"curly": [1, "all"], | ||
"no-param-reassign": [1, { | ||
"props": false, | ||
curly: [1, 'all'], | ||
'no-param-reassign': [1, { | ||
props: false, | ||
}], | ||
"import/prefer-default-export": 0, | ||
"no-multiple-empty-lines": [1, { "max": 1, "maxEOF": 1, "maxBOF": 0 }], | ||
"padding-line-between-statements": [ | ||
"error", | ||
{ "blankLine": "always", "prev": "*", "next": "return" }, | ||
{ "blankLine": "always", "prev": "import", "next": "*" }, | ||
{ "blankLine": "never", "prev": "import", "next": "import" }, | ||
'import/prefer-default-export': 0, | ||
'no-multiple-empty-lines': [1, { max: 1, maxEOF: 1, maxBOF: 0 }], | ||
'padding-line-between-statements': [ | ||
'error', | ||
{ blankLine: 'always', prev: '*', next: 'return' }, | ||
{ blankLine: 'always', prev: 'import', next: '*' }, | ||
{ blankLine: 'never', prev: 'import', next: 'import' }, | ||
], | ||
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }], | ||
} | ||
'react/jsx-filename-extension': [1, { extensions: ['.js', '.jsx'] }], | ||
}, | ||
} |
{ | ||
"name": "eslint-config-20minutes", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "ESLint shareable config for 20 Minutes", | ||
"license": "MIT", | ||
"devDependencies": { | ||
"babel-eslint": "^10.0", | ||
"eslint-plugin-babel": "^5.0", | ||
"eslint": "^5.16.0 || ^6.8.0 || <7.3.0", | ||
"eslint-plugin-import": "^2.21.2", | ||
"eslint-plugin-react": "^7.20.0", | ||
"eslint-plugin-jsx-a11y": "^6.3.0", | ||
"eslint-plugin-react-hooks": "^1.7.0 || ^2.3.0 || ^3 || ^4", | ||
"eslint-config-airbnb": ">=16.0.0" | ||
}, | ||
"peerDependencies": { | ||
"eslint-config-airbnb": ">16.0.0" | ||
} | ||
"eslint-config-airbnb": ">=16.0.0" | ||
}, | ||
"repository": "20minutes/eslint-config", | ||
"engines": { | ||
"node": ">=10.13.0" | ||
}, | ||
"scripts": { | ||
"test": "node -c index.js", | ||
"lint": "eslint index.js" | ||
}, | ||
"files": [ | ||
"index.js" | ||
], | ||
"keywords": [ | ||
"20minutes", | ||
"code", | ||
"quality", | ||
"style", | ||
"lint", | ||
"linter", | ||
"jscs", | ||
"jshint", | ||
"jslint", | ||
"eslint", | ||
"validate", | ||
"code style", | ||
"strict", | ||
"check", | ||
"checker", | ||
"verify", | ||
"enforce", | ||
"hint" | ||
] | ||
} |
@@ -10,3 +10,4 @@ # eslint-config-20minutes | ||
``` | ||
npm install --save-dev eslint-config-20minutes | ||
npm install --save-dev eslint eslint-config-airbnb eslint-config-20minutes | ||
``` | ||
@@ -16,3 +17,3 @@ | ||
``` | ||
yarn add --dev eslint-config-20minutes | ||
yarn add --dev eslint eslint-config-airbnb eslint-config-20minutes | ||
``` | ||
@@ -24,4 +25,7 @@ | ||
{ | ||
"extends": "20minutes" | ||
"extends": "20minutes", | ||
"rules": { | ||
// Additional, per-project rules... | ||
} | ||
} | ||
``` |
SPDX disjunction
LicenseSPDX disjunction for an artifact's license information
Found 1 instance in 1 package
SPDX disjunction
LicenseSPDX disjunction for an artifact's license information
Found 1 instance in 1 package
No License Found
License(Experimental) License information could not be found
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
2316
1
33
29
8
3