Skip to content

Commit 4ecc891

Browse files
committed
slight tweaks
1 parent 07b312e commit 4ecc891

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,15 @@ npm install eslint
4646

4747
### I've got 'SublimeLinter: eslint ERROR: ESLint couldn't find a configuration file' when I am editing a Javascript file.
4848

49-
If using SublimeLinter 4.x or later, the linter is trying to always lint the current view, even if there is no eslint setup for the project or file. You can easily fix this error by creating an empty `.eslintrc` file in your home directory. This file will be picked up by the linter when there is **no** locally-defined ESLint configuration.
49+
If using SublimeLinter 4, the linter is trying to always lint the current view, even if there is no eslint setup for the project or file. You can easily fix this error by creating an empty `.eslintrc` file in your home directory. This file will be picked up by the linter when there is **no** locally-defined ESLint configuration.
50+
51+
Use your editor of choice and create this config file, or do this on a terminal:
5052

5153
```bash
5254
cd $HOME # or cd %HOMEPATH% on Windows
5355
touch .eslintrc
5456
echo '{ "rules": {} }' > .eslintrc
5557
```
5658

57-
You can of course use your editor of choice and create this file.
59+
5860

0 commit comments

Comments
 (0)