itowns
Version:
A JS/WebGL framework for 3D geospatial data visualization
36 lines (33 loc) • 954 B
JavaScript
module.exports = {
'extends': [
'eslint-config-airbnb-base',
'eslint-config-airbnb-base/rules/strict',
'../.eslintrc.js',
],
parserOptions: {
ecmaVersion: 5,
sourceType: 'script',
ecmaFeatures: {
impliedStrict: true
}
},
env: {
browser: true,
es6: false,
amd: true,
commonjs: true
},
rules: {
'prefer-arrow-callback': 'off',
'object-shorthand': 'off',
'no-param-reassign': ['error', { 'props': false }],
'no-mixed-operators': ['error', { allowSamePrecedence: true }],
'prefer-template': 'off',
'prefer-rest-params': 'off',
'arrow-parens': ['error', 'as-needed', { 'requireForBlockBody': true }],
// deactivated rules for `examples/`
'no-console': 'off',
// TODO reactivate all the following rules
'no-underscore-dangle': 'off',
}
}