mirror of
https://github.com/anticensority/runet-censorship-bypass.git
synced 2024-11-27 20:03:45 +03:00
34 lines
688 B
JavaScript
34 lines
688 B
JavaScript
module.exports = {
|
|
extends: ['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,
|
|
}],
|
|
},
|
|
};
|