mirror of
https://github.com/anticensority/runet-censorship-bypass.git
synced 2024-11-30 21:33:43 +03:00
34 lines
708 B
JavaScript
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,
|
|
}],
|
|
},
|
|
};
|