Skip to content
Snippets Groups Projects
Commit 0b3e90c2 authored by Clayton, Brandon Scott's avatar Clayton, Brandon Scott
Browse files

add eslint

parent 467a1eb7
No related branches found
No related tags found
1 merge request!18Resolves - Provisional Release Setup
**/*.js
dist/
node_modules/
tmp/
example
......@@ -2,3 +2,4 @@ package.json
package-lock.json
yarn.lock
dist
example
module.exports = {
...require('gts/.prettierrc.json'),
};
{
"extends": "./node_modules/gts/tsconfig-google.json",
"compilerOptions": {
"rootDir": ".",
"outDir": "./dist/",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"lib": ["es2018", "DOM"]
},
"exclude": ["node_modules", "tmp", "dist", "example"],
"include": ["src"]
}
{
"extends": ["tslint:recommended", "tslint-etc"],
"rules": {
"array-type": false,
"arrow-parens": false,
"interface-name": false,
"max-classes-per-file": false,
"max-line-length": [
true,
{
"limit": 100,
"ignore-pattern": "^import |^export {(.*?)}",
"check-strings": true,
"check-regex": true
}
],
"member-access": false,
"member-ordering": [
true,
{
"order": ["static-field", "instance-field", "static-method", "instance-method"]
}
],
"no-consecutive-blank-lines": false,
"no-console": [true, "debug", "info", "time", "timeEnd", "trace"],
"no-empty": false,
"no-inferrable-types": [true, "ignore-params"],
"no-non-null-assertion": true,
"no-redundant-jsdoc": true,
"no-switch-case-fall-through": true,
"no-var-requires": false,
"object-literal-key-quotes": [true, "as-needed"],
"object-literal-sort-keys": false,
"ordered-imports": true,
"quotemark": [true, "single"],
"trailing-comma": false
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment