Permalink
Switch branches/tags
eslint-config-airbnb-v17.0.0 eslint-config-airbnb-v16.1.0 eslint-config-airbnb-v16.0.0 eslint-config-airbnb-v15.1.0 eslint-config-airbnb-v15.0.2 eslint-config-airbnb-v15.0.1 eslint-config-airbnb-v15.0.0 eslint-config-airbnb-v14.1.0 eslint-config-airbnb-v14.0.0 eslint-config-airbnb-v13.0.0 eslint-config-airbnb-v12.0.0 eslint-config-airbnb-v11.2.0 eslint-config-airbnb-v11.1.0 eslint-config-airbnb-v11.0.0 eslint-config-airbnb-v10.0.1 eslint-config-airbnb-v10.0.0 eslint-config-airbnb-v9.0.1 eslint-config-airbnb-v9.0.0 eslint-config-airbnb-v8.0.0 eslint-config-airbnb-v7.0.0 eslint-config-airbnb-v6.2.0 eslint-config-airbnb-v6.1.0 eslint-config-airbnb-v6.0.2 eslint-config-airbnb-v6.0.1 eslint-config-airbnb-v6.0.0 eslint-config-airbnb-v5.0.1 eslint-config-airbnb-v5.0.0 eslint-config-airbnb-v4.0.0 eslint-config-airbnb-v3.1.0 eslint-config-airbnb-v3.0.2 eslint-config-airbnb-v3.0.1 eslint-config-airbnb-v3.0.0 eslint-config-airbnb-v2.1.1 eslint-config-airbnb-v2.1.0 eslint-config-airbnb-v2.0.0 eslint-config-airbnb-v1.0.2 eslint-config-airbnb-v1.0.1 eslint-config-airbnb-v1.0.0 eslint-config-airbnb-v0.1.1 eslint-config-airbnb-v0.1.0 eslint-config-airbnb-v0.0.9 eslint-config-airbnb-v0.0.8 eslint-config-airbnb-v0.0.7 eslint-config-airbnb-base-v13.0.0 eslint-config-airbnb-base-v12.1.0 eslint-config-airbnb-base-v12.0.2 eslint-config-airbnb-base-v12.0.1 eslint-config-airbnb-base-v12.0.0 eslint-config-airbnb-base-v11.3.2 eslint-config-airbnb-base-v11.3.1 eslint-config-airbnb-base-v11.3.0 eslint-config-airbnb-base-v11.2.0 eslint-config-airbnb-base-v11.1.3 eslint-config-airbnb-base-v11.1.2 eslint-config-airbnb-base-v11.1.1 eslint-config-airbnb-base-v11.1.0 eslint-config-airbnb-base-v11.0.1 eslint-config-airbnb-base-v11.0.0 eslint-config-airbnb-base-v10.0.1 eslint-config-airbnb-base-v10.0.0 eslint-config-airbnb-base-v9.0.0 eslint-config-airbnb-base-v8.0.0 eslint-config-airbnb-base-v7.2.0 eslint-config-airbnb-base-v7.1.0 eslint-config-airbnb-base-v7.0.1 eslint-config-airbnb-base-v7.0.0 eslint-config-airbnb-base-v6.0.0 eslint-config-airbnb-base-v5.0.3 eslint-config-airbnb-base-v5.0.2 eslint-config-airbnb-base-v5.0.1 eslint-config-airbnb-base-v5.0.0 eslint-config-airbnb-base-v4.0.2 eslint-config-airbnb-base-v4.0.1 eslint-config-airbnb-base-v4.0.0 eslint-config-airbnb-base-v3.0.1 eslint-config-airbnb-base-v3.0.0 eslint-config-airbnb-base-v2.0.0 eslint-config-airbnb-base-v1.0.4 eslint-config-airbnb-base-v1.0.3 eslint-config-airbnb-base-v1.0.2 eslint-config-airbnb-base-v1.0.1 eslint-config-airbnb-base-v1.0.0 es5-deprecated
Nothing to show
Find file Copy path
bf8677d Apr 19, 2016
@chrisngobanh @bae-unidev
63 lines (45 sloc) 1.19 KB
{
/*
* ENVIRONMENTS
* =================
*/
// Define globals exposed by modern browsers.
"browser": true,
// Define globals exposed by jQuery.
"jquery": true,
// Define globals exposed by Node.js.
"node": true,
// Allow ES6.
"esversion": 6,
/*
* ENFORCING OPTIONS
* =================
*/
// Force all variable names to use either camelCase style or UPPER_CASE
// with underscores.
"camelcase": true,
// Prohibit use of == and != in favor of === and !==.
"eqeqeq": true,
// Enforce tab width of 2 spaces.
"indent": 2,
// Prohibit use of a variable before it is defined.
"latedef": true,
// Enforce line length to 100 characters
"maxlen": 100,
// Require capitalized names for constructor functions.
"newcap": true,
// Enforce use of single quotation marks for strings.
"quotmark": "single",
// Enforce placing 'use strict' at the top function scope
"strict": true,
// Prohibit use of explicitly undeclared variables.
"undef": true,
// Warn when variables are defined but never used.
"unused": true,
/*
* RELAXING OPTIONS
* =================
*/
// Suppress warnings about == null comparisons.
"eqnull": true
}