Skip to content

Commit

Permalink
- Replace tslint with eslint
Browse files Browse the repository at this point in the history
- implement eslint rules
- add @types/ckeditor to peerDependencies
  • Loading branch information
kzimny committed Feb 8, 2021
1 parent 87660c3 commit 58e580e
Show file tree
Hide file tree
Showing 8 changed files with 2,179 additions and 269 deletions.
29 changes: 29 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"env": {
"browser": true,
"es2021": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"ignorePatterns": [
"libs/**/*",
"node_modules/**/*"
],
"rules": {
"@typescript-eslint/no-shadow": "error",
"no-duplicate-imports": "error",
"brace-style": [
"error"
]
}
}
Loading

0 comments on commit 58e580e

Please sign in to comment.