Nativefier/.eslintrc.js

50 lines
952 B
JavaScript
Raw Normal View History

2016-01-23 19:02:23 +01:00
module.exports = {
globals: {
// mocha
describe: false,
it: false,
before: false,
beforeEach: false,
after: false,
afterEach: false
},
2016-01-23 19:02:23 +01:00
rules: {
indent: [
2,
4,
2016-01-28 04:47:40 +01:00
{SwitchCase: 1}
2016-01-23 19:02:23 +01:00
],
quotes: [
2,
'single'
],
'linebreak-style': [
2,
'unix'
],
semi: [
2,
'always'
],
'max-len': 0,
'require-jsdoc': 0,
'padded-blocks': 0,
'no-throw-literal': 0,
camelcase: 0,
'valid-jsdoc': 0,
'no-path-concat': 1,
2016-03-12 08:02:49 +01:00
'quote-props': [2, 'as-needed'],
2016-05-26 17:05:44 +02:00
'no-warning-comments': 1,
'no-control-regex': 0
2016-01-23 19:02:23 +01:00
},
env: {
es6: true,
browser: true,
node: true
},
ecmaFeatures: {
modules: true
},
extends: 'google'
};