Releases: synacor/eslint-config-synacor
3.0.5 Support eslint 6
3.0.4 add react setting of version 15 to support preact 8 and down
3.0.3 add legacyDecorators: true setting to parsing options
This makes it so that the legacy decorator syntax with export
doesn't throw an error with the new babel-eslint
version, such as:
@myDecorator
export class MyClass
3.0.2 Upgrade Dependencies and support eslint@5 in addition to eslint@4
Remove eslint-config-compat
Removed the eslint-config-compat
package. It relied on caniuse-db
which uses a CC-BY-4.0 Attribution license which is not compatible with our licensing preferences. In addition, eslint-config-compat
was not catching many lint errors for us, so it is one less dependency for the project.
2.0.4 - Add promises to the list of polyfills
Add promises
to the list of polyfills, since Synacor always polyfills promises in its code bases. This prevents eslint-plugin-compat
from throwing errors about IE not supporting Promises.
2.0.3 Update dependencies
Update all dependencies.
Use ^ ranges instead of >= ranges for dependencies
[email protected]
broke eslint-config-synacor upon its release because we were using >= range versioning for dependencies. This version changes to a safer major version ^ range versioning for dependencies.
Use ^ ranges instead of >= ranges for dependencies
[email protected]
broke eslint-config-synacor upon its release because we were using >= range versioning for dependencies. This version changes to a safer major version ^ range versioning for dependencies.
New rule `react/display-name`
Add new rule react/display-name
to ensure debugging tools can properly identify components