UNPKG

plaxtony

Version:

Static code analysis of SC2 Galaxy Script

84 lines (80 loc) • 2.1 kB
/* šŸ‘‹ Hi! This file was autogenerated by tslint-to-eslint-config. https://github.com/typescript-eslint/tslint-to-eslint-config It represents the closest reasonable ESLint configuration to this project's original TSLint configuration. We recommend eventually switching this configuration to extend from the recommended rulesets in typescript-eslint. https://github.com/typescript-eslint/tslint-to-eslint-config/blob/master/docs/FAQs.md Happy linting! šŸ’– */ module.exports = { env: { es6: true, node: true }, parser: '@typescript-eslint/parser', parserOptions: { project: 'tsconfig.json', sourceType: 'module' }, plugins: [ '@typescript-eslint', ], rules: { '@typescript-eslint/indent': 'error', '@typescript-eslint/member-delimiter-style': [ 'error', ], '@typescript-eslint/prefer-namespace-keyword': 'error', '@typescript-eslint/quotes': [ 'error', 'single' ], '@typescript-eslint/semi': [ 'error', ], '@typescript-eslint/type-annotation-spacing': 'error', 'brace-style': [ 'error', 'stroustrup' ], 'eol-last': 'error', eqeqeq: [ 'error', 'smart' ], 'id-match': 'error', indent: [ 'error', 4, { SwitchCase: 1, ignoreComments: true, ignoredNodes: [ 'SingleLineCommentTrivia' ], } ], 'no-eval': 'error', 'no-redeclare': 'error', 'no-trailing-spaces': 'error', 'no-var': 'error', quotes: [ 'error', 'single', { allowTemplateLiterals: true, } ], semi: 'error', 'spaced-comment': [ 'error', 'always', { markers: [ '/' ] } ] } };