@amedia/eslint-config-base
Advanced tools
Comparing version 6.0.0 to 7.0.0
17
index.js
@@ -1,12 +0,3 @@ | ||
// https://github.com/airbnb/javascript/tree/master/packages/eslint-config-airbnb-base | ||
module.exports = { | ||
extends: [ | ||
'airbnb-base', | ||
'plugin:import/errors', | ||
'plugin:import/warnings', | ||
'prettier', // https://www.npmjs.com/package/eslint-plugin-import | ||
], | ||
globals: { | ||
__DEV__: true, | ||
}, | ||
extends: ['eslint:recommended'], | ||
env: { | ||
@@ -18,3 +9,3 @@ browser: true, | ||
parserOptions: { | ||
ecmaVersion: "latest", | ||
ecmaVersion: 'latest', | ||
sourceType: 'module', | ||
@@ -29,7 +20,3 @@ ecmaFeatures: { | ||
// general ESLint rules, here we can add custom rules | ||
// rules for https://github.com/benmosher/eslint-plugin-import | ||
'import/extensions': [1, 'ignorePackages'], | ||
'import/order': ['error', { 'newlines-between': 'always' }], | ||
'import/prefer-default-export': 0, | ||
}, | ||
}; |
{ | ||
"name": "@amedia/eslint-config-base", | ||
"version": "6.0.0", | ||
"version": "7.0.0", | ||
"description": "ESLint configuration to be used by developers at Amedia", | ||
"main": "index.js", | ||
"files": [ | ||
"index.js", | ||
"prettier.config.js" | ||
"index.js" | ||
], | ||
@@ -30,12 +29,10 @@ "scripts": { | ||
"peerDependencies": { | ||
"eslint": "*", | ||
"eslint-config-airbnb-base": "*", | ||
"eslint-config-prettier": "*", | ||
"eslint-plugin-import": "*", | ||
"prettier": "*" | ||
"eslint": "8.x" | ||
}, | ||
"devDependencies": { | ||
"eslint": "8.16.0" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"gitHead": "2dbf3aaaf79822cda8903a2b132f317fa76b7ceb" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1
1493
1
3
20
19