Commit 1fcd2aaf authored by Kaspar Vollenweider's avatar Kaspar Vollenweider Committed by Kaspar

add eslint and eslintrc for javascript linting

parent a70ca3a5
{
"env": {
"browser": true,
"commonjs": false,
"es6": true,
"node": false,
"jquery": true
},
"parserOptions": {
"ecmaFeatures": {
"jsx": false
},
"sourceType": "script"
},
"rules": {
"no-const-assign": "warn",
"no-this-before-super": "warn",
"no-undef": "warn",
"no-unreachable": "warn",
"no-unused-vars": "warn",
"constructor-super": "warn",
"valid-typeof": "warn"
},
"extends": ["defaults"]
}
{
"name": "aoz-003",
"private": true,
"dependencies": {}
"dependencies": {},
"devDependencies": {
"eslint": "^4.7.1",
"eslint-config-defaults": "^9.0.0"
}
}
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment