eslint-config-fxa
Advanced tools
Comparing version 1.2.0 to 1.3.0
'use strict' | ||
module.exports = { | ||
'extends': './index', | ||
extends: './index', | ||
'env': { | ||
'amd': true, // defines require() and define() as global variables as per the amd spec | ||
'browser': true, // browser global variables | ||
'mocha': true // adds all of the Mocha testing global variables | ||
env: { | ||
amd: true, // defines require() and define() as global variables as per the amd spec | ||
browser: true, // browser global variables | ||
mocha: true // adds all of the Mocha testing global variables | ||
}, | ||
rules: { | ||
strict: [2, 'global'] | ||
} | ||
} |
14
index.js
'use strict' | ||
module.exports = { | ||
'env': { | ||
'es6': true, // enable all ECMAScript 6 features except for modules | ||
'node': true // Node.js global variables and Node.js-specific rules | ||
env: { | ||
es6: true, // enable all ECMAScript 6 features except for modules | ||
node: true // Node.js global variables and Node.js-specific rules | ||
}, | ||
'rules': { | ||
rules: { | ||
'camelcase': 0, | ||
@@ -18,3 +18,3 @@ 'comma-dangle': 0, | ||
'eqeqeq': [2, 'allow-null'], | ||
'global-strict': [0, 'never'], | ||
'global-strict': 0, | ||
'handle-callback-err': 1, | ||
@@ -42,5 +42,5 @@ 'indent': [2, 2], // 2 spaces indentation | ||
'no-unused-vars': [1, {'vars': 'all', 'args': 'none'}], | ||
'no-use-before-define': true, | ||
'no-use-before-define': [2, 'nofunc'], | ||
'no-with': 2, | ||
'quotes': [2, 'single'], | ||
'quotes': [2, 'single', 'avoid-escape'], | ||
'semi': [2, 'always'], | ||
@@ -47,0 +47,0 @@ 'space-unary-ops': 0, |
{ | ||
"name": "eslint-config-fxa", | ||
"description": "ESLint shareable config file for Firefox Accounts projects.", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"author": "Peter deHaan <peter@deseloper.com> (http://nodeexamples.com/)", | ||
@@ -6,0 +6,0 @@ "bugs": { |
'use strict' | ||
module.exports = { | ||
'extends': './index', | ||
extends: './index', | ||
'rules': { | ||
rules: { | ||
'curly': 0, | ||
@@ -8,0 +8,0 @@ 'semi': [1, 'never'], |
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
3575
71