runet-censorship-bypass/extensions/chromium/runet-censorship-bypass/.eslintrc.js
2017-02-23 07:56:49 +00:00

34 lines
708 B
JavaScript

module.exports = {
extends: ['eslint:recommended', 'google'],
env: {
browser: true,
webextensions: true,
es6: true
},
globals: {
chrome: true
},
parserOptions: {
sourceType: 'script',
ecmaVersion: 2017,
ecmaFeatures: {
impliedStrict: false
}
},
rules: {
strict: ['error', 'global'],
'no-console': 'off',
'padded-blocks': 'off',
'require-jsdoc': 'off',
// Taken from airbnb:
'max-len': ['error', 100, 2, {
ignoreUrls: true,
ignoreComments: false,
ignoreRegExpLiterals: true,
ignoreStrings: true,
ignoreTemplateLiterals: true,
}],
},
};