blob: f42738e5f35f7df4b0ea226c8f6f09ec58c49660 [file] [log] [blame]
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
{
"browser": true, // Standard browser globals e.g. `window`, `document`.
"bitwise": false, // Prohibit bitwise operators (&, |, ^, etc.).
"camelcase": false, // Permit only camelcase for `var` and `object indexes`.
"curly": false, // Require {} for every new block or scope.
"devel": true, // Allow development statements e.g. `console.log();`.
"esnext": true, // Allow ES.next specific features such as `const` and `let`.
"eqeqeq": true, // Require triple equals i.e. `===`.
"immed": true, // Require immediate invocations to be wrapped in parens e.g. `( function(){}() );`
"indent": false, // Specify indentation spacing
"latedef": true, // Prohibit variable use before definition.
"node": true, // Enable globals available when code is running inside of the NodeJS runtime environment.
"newcap": false, // Require capitalization of all constructor functions e.g. `new F()`.
"noarg": true, // Prohibit use of `arguments.caller` and `arguments.callee`.
"noempty": true, // Prohibit use of empty blocks.
"quotmark": false, // Define quotes to string values.
"regexp": true, // Prohibit `.` and `[^...]` in regular expressions.
"strict": true, // Require `use strict` pragma in every file.
"smarttabs": false, // Suppresses warnings about mixed tabs and spaces
"trailing": true, // Prohibit trailing whitespaces.
"undef": true, // Require all non-global variables be declared before they are used.
"unused": true, // Warn unused variables.
"globals": { // Globals variables.
"angular": true,
"$": false
},
"predef": [ // Extra globals.
"define",
"require",
"exports",
"module",
"spyOn",
"describe",
"xdescribe",
"before",
"beforeEach",
"after",
"afterEach",
"jasmine",
"it",
"xit",
"inject",
"expect",
"ngGridFlexibleHeightPlugin"
]
}