Skip to content

[1.11.1] Fix linting

Compare
Choose a tag to compare
@onigoetz onigoetz released this 15 Apr 08:04
· 1818 commits to master since this release

Highlights

  • Linting bugfixes
  • Remove eslintReactVersion settting

Linting bugfixes

  • Using jsLint --preset format did not work correctly with ES2015+
  • Using jsLint --preset recommended --preset node did not parse TypeScript correctly.
  • Add eslint-config-prettier 6.10.1 to disable all prettier-related rules automatically
  • Add eslint-import-resolver-typescript 2.0.0 to disable all rules handled by TypeScript

Remove eslintReactVersion from crafty.config.js

use detect as React's version in eslint-plugin-react, can still be overriden with the eslint configuration

Package Updates

  • Update jest to 25.3.0
  • Update @babel/* to 7.9.5
  • Update eslint-loader to 4.0.0
  • Update css-loader to 3.5.2
  • Update stylelint to 13.3.2
  • Update fork-ts-checker-webpack-plugin to 4.1.3
  • Update rollup-plugin-typescript2 to 0.27.0
  • Update @rollup/plugin-commonjs to 11.1.0
  • Update @rollup/plugin-node-resolve to 7.1.3
  • Update rollup to 2.6.1
  • Update mkdirp to 1.0.4
  • Update autoprefixer to 9.7.6
  • Update browserslist to 4.11.1
  • Update stylelint-scss to 3.17.0
  • Update @typescript-eslint/eslint-plugin to 2.28.0
  • Update eslint-plugin-import 2.20.2
  • Update eslint-plugin-prettier 3.1.3