brndkfr on master
Update README.md (compare)
dependabot[bot] on npm_and_yarn
brndkfr on master
Update README.md (compare)
dependabot[bot] on npm_and_yarn
Bump lodash from 4.17.11 to 4.1… (compare)
dependabot[bot] on npm_and_yarn
dependabot[bot] on npm_and_yarn
dependabot[bot] on npm_and_yarn
dependabot[bot] on npm_and_yarn
Bump js-yaml from 3.12.0 to 3.1… (compare)
dependabot[bot] on npm_and_yarn
Bump lodash from 4.17.11 to 4.1… (compare)
dependabot[bot] on npm_and_yarn
Bump mixin-deep from 1.3.1 to 1… (compare)
IllusionMH on master
build: enable npm package publi… (compare)
IllusionMH on master
feat(rule): Add new rule - reac… (compare)
JoshuaKGoldberg on master
fix: In function-name, actually… (compare)
JoshuaKGoldberg on add-emoji-readme-1
JoshuaKGoldberg on add-emoji-readme-1
Added :sparkle: emoji to README… (compare)
JoshuaKGoldberg on add-emoji-readme
Added :sparkle: emoji to README… (compare)
IllusionMH on npm-6.2.0
IllusionMH on releases
v6.2.0 (compare)
IllusionMH on 6.2.0
IllusionMH on master
Update CHANGELOG.md and package… (compare)
hey all, I'm trying to use the tslint:recommended
extension but it does not seem to be working.
I am using webpack and my eslint config looks like this:
tslint: {
configuration: {
"extends": "tslint:recommended"
}
},
Here is some code that should cause ts-lint warnings but does not:
function hello(foo: string) {
const str : string = 'bar' + foo;
if (str)
console.log('blah')
console.log(str);
}
since tslint:recommended includes curly: true
, an error should be raised
when I add
rules: {curly: true}
to my config I do see errors
Any ideas why this is not working?
/usr/local/lib/node_modules/tslint/lib/ruleLoader.js:29
throw new Error(ERROR_MESSAGE);
^
Error:
Could not find implementations for the following rules specified in the configuration:
no-for-in-array
no-unsafe-finally
restrict-plus-operands
arrow-parens
max-file-line-count
no-suspicious-comment
react-a11y-lang
react-a11y-meta
react-a11y-titles
object-literal-key-quotes
Try upgrading TSLint and/or ensuring that you have all necessary custom rules installed.
If TSLint was recently upgraded, you may have old rules configured which need to be cleaned up.
at Object.loadRules (/usr/local/lib/node_modules/tslint/lib/ruleLoader.js:29:15)
at Linter.lint (/usr/local/lib/node_modules/tslint/lib/tslint.js:25:44)
at processFile (/usr/local/lib/node_modules/tslint/lib/tslint-cli.js:131:29)
at Array.forEach (native)
at Object.<anonymous> (/usr/local/lib/node_modules/tslint/lib/tslint-cli.js:141:41)
at Module._compile (module.js:541:32)
at Object.Module._extensions..js (module.js:550:10)
at Module.load (module.js:458:32)
at tryModuleLoad (module.js:417:12)
at Function.Module._load (module.js:409:3)
const y = ( x: number ) => x + 2;
const y = ( x: number ) => { return x+2; };